If we want to restart explorer, we just kill explorer.exe in Task Manager and restart it again by entering its name in New Task. But wouldn’t it be easier if we had a shortcut to do this? Luckily, we can do this by creating a batch file.
How to Create
1.Open Notepad. You can open it by Start->Run->(type & enter) notepad.exe
2.Now copy paste the following code into notepad.
@ECHO OFF
echo.
echo.
echo ==========================================
echo Simple Script to Restart Windows Explorer
echo.
echo PC Tricks@2011
echo ==========================================
echo.
echo.
echo STEP 1: Closing Explorer . . .
echo.
TASKKILL /F /IM explorer.exe
echo.
echo.
echo STEP 2: Starting Explorer . . .
start explorer.exe
echo.
echo SUCCESS: Explorer is running.
echo.
echo.
PAUSE
3.Now in Notepad open File->Save As
4.Name the file anything just remember to set the file type to ‘All Files’ and the most importantly add
.bat
behind the file name or it won’t work.
5.Click on the shortcut and it will start restarting explorer.exe
Change The Icon (Optional)
1.If you want, you can change the shortcut icon by
Right clicking on it-> Properties->Shortcut. Below the shortcut tab, click ‘Change Icon’ button.
2.Now choose any of the icon available or you can create one yourself. Just make the image small, convert it to ico. Then repeat step 1 and browse to the icon you make. Set it as the shortcut icon.
Place to Put the Shortcut For Easy Access
1.Quick Launch
2.Desktop
3.Put the Shortcut in a Toolbar
4.Start Menu








