Quantcast
Channel: Microsoft forum - dslreports.com
Viewing all articles
Browse latest Browse all 8524

[WIN7] Closing a cmd window after batch file...

$
0
0
I have looked at a couple web site answers for this, and I am still not exactly sure I *understand* the answers. (Consider that you are speaking to a child. You are not, but pretend like you are!) If I run this batch file: @echo offtaskkill /im iexplore.exe /f /t"C:\Program Files\Internet Explorer\iexplore.exe"taskkill /im cmd.exe /f /tThen the cmd window does not close until *after* I close the IE window. Is there a way to make the cmd window close just after IE opens? The best answer I could get was to use the Start command to open IE. And that does seem to work - but NOT if I put the full path in the command - and I am not sure why. It appears that I can simply start IE with "start iexplore.exe" - but what if I want to start a program that truly requires a full path? And why does iexplore.exe start even though "Program Files\Internet Explorer" is not specified in the Path parameter? I am confused. Anyone care to enlighten me? Thanks.

Viewing all articles
Browse latest Browse all 8524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>