Batch file 如果没有响应,Bat文件将杀死IE
如果IE窗口标题没有响应,我需要一些帮助来关闭IE 这给了我一个错误Batch file 如果没有响应,Bat文件将杀死IE,batch-file,Batch File,如果IE窗口标题没有响应,我需要一些帮助来关闭IE 这给了我一个错误 @echo off Title Start and Kill Internet Explorer Mode con cols=75 lines=5 & color 0B echo( echo Launching Internet Explorer ... Start "" "%ProgramFiles%\Internet Explorer\iexplore.exe" "www.google.com" :: Slee
@echo off
Title Start and Kill Internet Explorer
Mode con cols=75 lines=5 & color 0B
echo(
echo Launching Internet Explorer ...
Start "" "%ProgramFiles%\Internet Explorer\iexplore.exe" "www.google.com"
:: Sleep for 20 seconds
Timeout /T 5 /NoBreak>NUL
echo(
echo Killing Internet Explorer If the Status is Not Responding ...
::echo Hit any Key to kill all instances of Internet Explorer
Pause>nul
Cls & Color 0C
echo(
::Taskkill /IM "iexplore.exe" /F
Taskkill /F "iexplore.exe" /FI "WINDOWTITLE eq *Not Responding*" /FI
pause
您是如何获得使Internet Explorer无响应的代码的?错误是什么?因为
taskkill
中不允许在eq
后面加前导星号,您将得到错误:无法识别搜索筛选器
可能的重复项