Batch file does not wait for executed program to finish.

K

Kurt P Herzog

Edition Windows 10 Pro Version 21H2 Installed on ‎8/‎3/‎2020 OS build 19044.1466 Experience Windows Feature Experience Pack 120.2212.3920.0 I have a batch file that I want to start a browser, wait for it to close, then proceed to the next instruction in the batch. The batch file does not wait for the running program to finish. I have tried both variations shown below and the command line parameters all pass to the first(?) program. The batch file terminates without running the other programs.@echo off START "Cartoons" /WAIT "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" "ht

Continue reading...
 
Back
Top Bottom