How to create a shortcut to safely eject devices

Just right click anywhere in a folder select New->Shortcut.

As the path to the shortcut, write this:

%windir%\system32\RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

 image

Now, whenever you double-click that shortcut, it will open up the “Safely Remove Hardware” dialog.

You can actually do better by selecting “Properties” from the context menu of the shortcut, and assigning a hotkey for it. Now, you don’t need to search for the icon in the system tray. You just have to press a hotkey. Hope it increases your productivity a little bit. :)

 

By the way, you can also execute the path above programmatically to get the “Safely Remove Hardware” dialog.

Post a Comment