xmrkite Posted April 19, 2012 Report Share Posted April 19, 2012 Hello, I want to start internet explorer and close it by using the same hotkey (ctrl + alt + F9) I see that I can use my hotkey to open internet explorer, but not to close it. The idea is to open this from xbmc and use the same button on my remote control to open and close internet explorer. So I created a script to open and close it and it works great, but there is one issue. I use the following batch file:---------------------------------------------------------------------set tempfile=bdw.txttasklist > %tempfile%type %tempfile% | find /i "iexplore.exe"if errorlevel 0 if not errorlevel 1 goto IsRunning"C:\Program Files\Internet Explorer\iexplore.exe"exit:IsRunningC:\Windows\system32\taskkill.exe /F /IM iexplore.exegoto exit--------------------------------------------------------------------- The problem is that while I need the command prompt to remain open so that xbmc behaves nicely and stays minimized, the script doesn't want to work again till i close out the command prompt. Any ideas?-Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.