Answer» being a vista *shudder* user, internet explorer stops working a lot. I just wrote a short batch file in order to force a shutdown of IE, instead of having to go ctr+alt+del, or waiting forever for it to close itself. heres the code: "@ECHO off
ECHO Y = Yes ECHO N = No ECHO Q = Quit
SET yesInput=Y SET noInput=N SET nInput=n SET QInput=Q
ECHO force shutdown? Y/N/Q SET /p var=
IF %var% EQU %noInput% GOTO second IF %var% EQU %nInput% GOTO second IF %var% EQU %QInput% GOTO end IF %var% EQU %yesInput% GOTO kill
:kill ECHO forcing termination... taskkill /F /IM iexplore.exe PAUSE EXIT
:second ECHO try to shutdown without force? Y/N/Q SET /p var=
IF %var% EQU %noInput% GOTO end IF %var% EQU %nInput% GOTO end IF %var% EQU %QInput% GOTO end IF %var% EQU %yesInput% GOTO stop
:stop ECHO attempting to stop without force... taskkill /IM iexplore.exe PAUSE EXIT
:end EXIT"
It worked basically perfectly, EXCEPT that when i tried to restart explorer, it was extremely SLOW; i tried several more times and it stayed very slow. Is This because of the way i closed it, or it is just something normal? any help or IDEAS are APPRECIATED. thanks! I use Vista at work, and never have problems with Internet Explorer. (Using IE7.)
I'm not being critical, but perhaps there is a problem that is not just the fact that you're using IE and Vista.thanks. your probably right. i use IE8 (perhaps the problem) but i just wanted to know if there was any possibity that using the code i did, i somehow worsened the problem. thanks!You're on the right track. Lots of folks here who will take a look at your code for you.k. thanks!
|