Friday, June 1, 2007

"Copy To.." and "Move To.." context menu

Here is a Windows registry edit that will add a "Copy To Folder" and "Move To Folder" option to the right click menu of all your files and folders, without the need for any third party utilities. Once implemented, you will be able to right click any file or folder and use the Browse for Folder dialog to choose the location you want to move or copy your file or folder to, without having to go to the destination path. This will give you an alternative to Windows default Copy/Cut and Paste method which requires you to navigate to the actual location you want to paste your file or folder too. This edit should work on all Windows versions 95 and up, though I only tested it on Windows 98 and XP.



Ok, let's get to it.

First we will add the copy and move options to the right click menu of all FILES.

Click Start>Run, type REGEDIT and click OK to open up the registry editor and make your way to this key:


HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers

Right click the ContextMenuHandlers key and choose New>Key.
Name the new key "Copy To" (without the quotes).
Repeat the above and create another new key named Move To.

You should now have two new subkeys under the ContextMenuHandlers key:


HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Co py To

HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Mo ve To


Select the Copy To key and in the right hand pane, double click "Default"
Enter this clsid value as the value data:


{C2FBB630-2971-11d1-A18C-00C04FD75D13}

Next, select the Move To key and in the right hand pane set the default value to:


{C2FBB631-2971-11d1-A18C-00C04FD75D13}

This now takes care of the Copy and Move options for the right click context menu of all your files.
Now all that is left is to add the same options to the right click menu of all your folders.
The procedure will be the same as for files but at a different key:


HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHan dlers

Right click ContextMenuHandlers and create a new key named Copy To.
Right click it again and create another new key named Move To.

In the right hand pane, add the same default values as you did for Files:

For Copy To:


{C2FBB630-2971-11d1-A18C-00C04FD75D13}


For the Move To:


{C2FBB631-2971-11d1-A18C-00C04FD75D13}


Exit the registry and you are done.

Now when you right click on a file or folder, you should see two new options: Copy to Folder and Move to Folder.

Or to save you from this work ( if you're new with PC's) just download this file and use those
two .reg files which will do the work for you

URL

Move/copy to

No comments: