CoolComputing Logo
Coupons/Deals  ·  New Promo Codes/Coupons  · August 20, 2018

Windows 8 Folder Hang Workaround - Script to Automatically Kill and Reload Windows Program

Posted on Thursday, December 20, 2012 @ 05:48:21 PM CST by David Yee [] [read 3933 times]

 
Tips: Windows-world
Lately I've been having some issues with a folder on my Windows 8 PC. For work purposes, I always keep the folder open and some screen shots in it. Unfortunately, after a while, when I switch back to the open folder, it just hangs and I have to run Task Manager and manually kill all instances of explorer.exe, then run explorer.exe again to get rid of the stuck folder window and restore my desktop. After the latest batch of Windows 8 updates, I still don't see the problem fixed. Now it could be some software I'm running that's causing this problem, but I pretty much have the same setup as my old Windows 7 PC, with the most notable exception of having Classic Shell installed. I doubt that Classic Shell is causing this, but I wanted a workaround.

I wanted to quickly kill all instances of Explorer.exe and then relaunch it instead of doing it manually. So I created a batch file script to do this, and placed it on the desktop for quick-access. Here are the contents of the file which I named Explorer_Reload.bat:

taskkill /F /IM explorer.exe
start explorer.exe


It's just two lines. The first line invokes the taskill command which will remove from memory the specified program- in this case explorer.exe.

The second command re-launches explorer.exe so the taskbar and the desktop are returned to action. I had to use "start" instead of simply "explorer.exe" because that way the command line box disappears.

Note that you can easily customize this batch file to close and re-open/relaunch any application- simply replace "explorer.exe" with the program you want- for instance iexplore.exe for Internet Explorer or Firefox.exe for the Firefox browser.



Please rate this article or post a brief review of Windows 8 Folder Hang Workaround - Script to Automatically Kill and Reload Windows Program or comment on benchmark/performance, features, availability, price or anything else regarding Windows 8 Folder Hang Workaround - Script to Automatically Kill and Reload Windows Program. Thanks!

Windows 8 Folder Hang Workaround Script To Automatically Kill And Reload Windows Program Rating: 2.5/5 (39 votes cast)

Your Name:
I have read and agreed to the Review Posting Agreement.
Review Title:
Comment/Review: