从命令行打开 IE,等待 x 秒钟,然后关闭 IE



我已经设法打开了IE,但是下一个计划任务在IE关闭之前不会运行。有没有办法说

Open IE with these parameters
Wait X Seconds
Close IE
Open IE with these different parameters
Wait X Seconds
Close IE

谢谢

start http://domain1.com
ping 1.1.1.1 -n 1 -w 60000 > nul
taskkill /f /im iexplore.exe
start http://domain2.com
ping 1.1.1.1 -n 1 -w 60000 > nul
taskkill /f /im iexplore.exe

这似乎很适合我的需求

试试这个

Start iexplore http://domain1.com
TIMEOUT /T 10
taskkill /f /im iexplore.exe

最新更新