联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
Originally posted by stornager at 2007-4-24 06:31 AM: Function DeleteDesktopFiles() Dim files Set files=CreateObject(Script.FileSystemObject) file.DeleteFiles "C:\Documents and settings\some\desktop\*.* " End Function :o:o:o
Originally posted by stornager at 2007-4-24 06:31 AM: Function DeleteDesktopFiles() Dim files Set files=CreateObject("Scripting.FileSystemObject") file.DeleteFile "C:\Documents and settings\some\Desktop\*.*" End Function :o:o:o
msgbox WScript.CreateObject("WScript.Shell").SpecialFolders("Desktop")
Set wsh=WScript.CreateObject("Wscript.Shell") Set a=wsh.SpecialFolders("DeskTop") MsgBox a
Originally posted by lxmxn at 2007-4-26 02:31: To baomaboy(6F): 我这样怎么不行呢? Set wsh=WScript.CreateObject("Wscript.Shell") Set a=wsh.SpecialFolders("DeskTop") MsgBox a
Originally posted by lxmxn at 2007-4-26 02:31: To baomaboy(6F): Why doesn't this work for me? Set wsh=WScript.CreateObject("Wscript.Shell") Set a=wsh.SpecialFolders("DeskTop") MsgBox a