Open and Wait untill IE is closed in batch file

前端 未结 4 552
猫巷女王i
猫巷女王i 2020-12-04 00:57

I want to open IE from a batch file and wait untill it is closed before going to the next line of the batch file. How to do this? BTW iexplore command seems to be not workin

4条回答
  •  醉酒成梦
    2020-12-04 01:27

    call "C:\Program Files\Internet Explorer\iexplore.exe" www.google.com
    call "C:\Program Files\Internet Explorer\iexplore.exe" www.stackoverflow.com
    call "C:\Program Files\Internet Explorer\iexplore.exe" www.codeproject.com
    echo done
    pause
    

    I tried it on windows 7 and it works perfectly....

    test the code before posting ur comments.......

提交回复
热议问题