Tuesday 20 September 2011

Quickly Restart Explorer.exe Process from Windows 7 Taskbar at Once



Do you use Task Manager to restart windows explorer by ending it and re-running it ? Well that involves a few steps, but you can avoid that by creating a command line script that does the whole thing for you ie, kill explorer.exe and then restart it.
Tip : 5 Very Useful, Productive Windows 7 Tricks

Quickly Restart "explorer.exe" Process with a Batch File

Vishal Gupta created this useful batch file script which can end task of explorer.exe process and then restart it automatically using windows shell commands.
Step 1 : Download this batch file : Restart-Explorer.bat
Step 2 : To test it double-click, run the downloaded file and you will see that your windows explorer closes and restarts.
Quickly Restart "explorer.exe" Process with a Batch File
Step 3 : Now place it wherever you think is easily accessible.
You can pin it to the Start Menu, drag drop the .bat file into your start menu. Or you can pin it to your taskbar, see below.

How to Add, Pin the .bat File to Windows Taskbar

The steps below will show you how to add non-exe files, folders to your windows taskbar.
Step 1 : Drag and drop any .exe file into the taskbar to pin it. In this eg: I am using cmd.exe (search cmd in start menu)
Quickly Restart Explorer.exe Process from Windows 7 Taskbar
Step 2 : Right-Click on the icon. And Right-Click again on "Command Prompt" and go toProperties.
Quickly Restart Explorer.exe Process from Windows 7 Taskbar
Step 3 : Set the file path of the .bat file in the the target.
Restart Explorer.exe Process from Windows 7 Taskbar
Step 4 : Click OK to save. You can also change the icon if you want. (this way you can add folders, files etc)
Finally click on taskbar icon to see if its working fine.

0 comments:

Post a Comment