找回密码
 加入
搜索
查看: 1719|回复: 1

关于返回值问题

[复制链接]
发表于 2009-4-5 15:55:40 | 显示全部楼层 |阅读模式
Local $file[107] = ["acctres", "batmeter", "batt", "browseui", "bthci", "cabview", "cdfview", "certmgr", "cmdial32", "comdlg32", "compatUI", "comres", "console", "credui", "cryptui", "cscui", "dataclen", "deskadp", "deskmon", "deskperf", "devmgr", "dfrgres", "diskcopy", "dmdlgs", "dmdskres", "dpvoice", "dsquery", "dsuiext", "els", "filemgmt", "fldrclnr", "fontext", "gcdef", "gpedit", "hnetwiz", "hotplug", "hticons", "icmui", "ieaksie", "iernonce", "inetcplc", "input", "irclass", "keymgr", "mdminst", "modemui", "moricons", "msgina", "mshtml", "msident", "msieftp", "msoeres", "mstask", "mstscax", "mycomput", "mydocs", "netid", "netplwiz", "netshell", "newdev", "ntlanui2", "ntshrui", "occache", "odbcint", "printui", "quartz", "rasdlg", "regwizc", "remotepg", "scrobj", "sendmail", "shdoclc", "shdocvw", "shell32", "shimgvw", "shscrap", "srchui", "srclient", "srrstr", "sti_ci", "stobject", "sxs", "syncui", "syssetup", "tapiui", "tcpmonui", "themeui", "upnpui", "url", "urlmon", "user32", "wab32", "wab32res", "wabfind", "wabimp", "webcheck", "wiadefui", "wiashext", "winbrand", "wininet", "winsrv", "wsecedit", "wuapi", "wuaueng1", "wucltui", "wuweb", "zipfldr"]
For $dll In $file
        $123 = FileCopy("F:\winxp\I386\" & $dll & ".dl_", "g:\alloo")
Next
If $123 = 0 Then
        IniWriteSection("g:\123.ini", "dos", $dll)
EndIf


如何将没有复制的文件列出到123.ini里面呢??
发表于 2009-4-5 16:10:23 | 显示全部楼层
Local $file[107] = ["acctres", "batmeter", "batt", "browseui", "bthci", "cabview", "cdfview", "certmgr", "cmdial32", "comdlg32", "compatUI", "comres", "console", "credui", "cryptui", "cscui", "dataclen", "deskadp", "deskmon", "deskperf", "devmgr", "dfrgres", "diskcopy", "dmdlgs", "dmdskres", "dpvoice", "dsquery", "dsuiext", "els", "filemgmt", "fldrclnr", "fontext", "gcdef", "gpedit", "hnetwiz", "hotplug", "hticons", "icmui", "ieaksie", "iernonce", "inetcplc", "input", "irclass", "keymgr", "mdminst", "modemui", "moricons", "msgina", "mshtml", "msident", "msieftp", "msoeres", "mstask", "mstscax", "mycomput", "mydocs", "netid", "netplwiz", "netshell", "newdev", "ntlanui2", "ntshrui", "occache", "odbcint", "printui", "quartz", "rasdlg", "regwizc", "remotepg", "scrobj", "sendmail", "shdoclc", "shdocvw", "shell32", "shimgvw", "shscrap", "srchui", "srclient", "srrstr", "sti_ci", "stobject", "sxs", "syncui", "syssetup", "tapiui", "tcpmonui", "themeui", "upnpui", "url", "urlmon", "user32", "wab32", "wab32res", "wabfind", "wabimp", "webcheck", "wiadefui", "wiashext", "winbrand", "wininet", "winsrv", "wsecedit", "wuapi", "wuaueng1", "wucltui", "wuweb", "zipfldr"]
For $dll In $file
        $123 = FileCopy("F:\winxp\I386\" & $dll & ".dl_", "g:\alloo")
                If $123 = 0 Then
                        IniWriteSection("g:\123.ini", "dos", $dll)
                EndIf
Next
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-24 09:15 , Processed in 0.089157 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表