双击不会有任何问题,而设置定时任务执行时,会报第二行错误:复制代码
- Set fso = CreateObject("Scripting.FileSystemObject")
- Set MyFile = fso.OpenTextFile("test.txt", 8, true)
- MyFile.WriteLine "allalala"
- MyFile.close
- Set fso = Nothing
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |