
CODE: [Copy to clipboard]我将当前目录下的一个TXT文件拖到这个vbs上面,虽然能够显示出文件的名字.但却不执行生成temp.txt文件的代码?set Fso=createobject("scripting.filesystemobject")
set fs=Fso.createTextFile("temp.txt",true)
msgbox wscript.arguments(0)
CODE: [Copy to clipboard]set Fso=createobject("scripting.filesystemobject")
set fs=Fso.createTextFile("C:\test\temp.txt",true)
msgbox wscript.arguments(0)
| Quote: | |
|
CODE: [Copy to clipboard][ Last edited by s11ss on 2008-9-10 at 02:21 AM ]explorer /select,"%userprofile%"\temp.txt
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |