|
2010/4/9 上午 11:03:49
請問各位,我系統是Windows 2008 Server ,在工作排程設定了 每隔3分鐘就執行一個.vbs檔,其內容如下: 'The following code executes the FTP script. It creates a Shell 'object and runs FTP program on top of it. Set objShell = CreateObject("WScript.Shell") objShell.Run "upload.bat",0,false Set objShell = Nothing 'objFSO.DeleteFile (strFTPScriptFileName) 我設排程時有設執行的帳號/密碼,並勾選以最高權限執行,權限應該 沒問題,可是工作每次都沒有去run該upload.bat檔,而排程歷程顯示 都是順利完成(0x0),很奇怪.......,至於我個人手動去執行該.vbs檔則是 有正確去run 那個upload.bat檔...請教先進是什麼原因啊~~感恩~
|
|
|