大多数人想要改造这个世界,但却罕有人想改造自己。 |
clautton 发表于 2016-10-27 23:08 我已去掉所有的空格及=, 改成如下, 但情況一樣, 有时会找不到.exe pushd D:\Pro-InstallED\(Optimization)\ if not exist "P:\Wait.html" ( "Move File = Time Stamp.exe" P:\Temp\*.html P:\ Taskkill /f /im "MoveFileTimeStamp.exe" "Goto Window Control.exe" "The Bat!" "K" Taskkill /f /im "GotoPopupClickBotton.exe" "Goto Popup Click Botton.exe" "Browse For Folder" "OK" Taskkill /f /im "GotoPopupClickBotton.exe" "Goto Popup Click Botton.exe" "Extract Attachments" "&Increment the file name" Taskkill /f /im "GotoPopupClickBotton.exe" "GotoPopupClickBotton.exe" "Extract Attachments" "&OK" Taskkill /f /im "GotoWindowControl.exe" "GotoWindowControl.exe" "The Bat!" "X" Del /f /s /q "P:\Temp\*.xls" "TheBatSaveMessage.htmlOneShipping.bat.exe" Start /min "InvoiceToMy-Gold.bat" ^& exit ) if exist "P:\Wait.html" ( Start /B P:\Temp\Invoice=DONE.xls "GotoWindowControl.exe" "Microsoft Excel - Invoice=DONE.xls" "L" ) if not exist "P:\Wait.html" Copy P:\Temp\Message.html P:\Wait.html /Y |
nttwqz 发表于 2016-10-27 23:41 我已弄好了. thank you. |
本帖最后由 clautton 于 2016-10-28 00:00 编辑 nttwqz 发表于 2016-10-27 23:41 不好意思, 其实我是完全不懂的. 转义字符是什么我也不懂. |
楼主的批处理实在不敢恭维啊,都看不下去。。。 还是把文件名和路径中的空格去掉吧,=去掉最好。 稍微整理下,有问题自己该。
|
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.