嗨,当我运行以下BAT文件时,它不会等待Wordpad终止.记事本立即启动.我怎么能让它等待?我使用的是64位
Windows 7.
REM Close notepad. taskkill /im notepad.exe /f REM Start Wordpad and wait until it terminates. start /wait write.exe C:\Users\dell\Downloads\test.txt REM Restart Notepad. start notepad.exe C:\Users\dell\Downloads\test2.txt PAUSE