Saturday, September 11, 2010

ContextMenuHandlers - CopyTo & MoveTo

Sometimes we wish to Copy or Move a file from one folder to another. In that case, this registry tweak will do is place 'Copy To' & 'MoveTo' on the Windows Explorer shortcut menu. Once you right click a file and select 'Copy to Folder' & 'Move to Folder', a dialog box opens inviting us to choose the file destination.

Steps to Add 'Copy To' to the Explorer Context Menu:

  1. Start > Run > Type "Regedit"
  2. Navigate to this key: HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\
  3. Create a new Key [means Folder]. Name the new Key: Copy To
    AllFileSystemObjects Registry tweak: Copy To
  4. In the right-hand pane, double click the existing REG_SZ called Default, and set the value to:
    {C2FBB630-2971-11d1-A18C-00C04FD75D13}
    Note: you do need the {curly brackets} for this CLSID.
  5. Close regedit, logoff or reboot if require, just Open Windows Explorer, right click a file and enjoy the 'Copy To Folder' feature.
Copy To Registry Hack {C2FBB630-2971-11d1-A18C-00C04FD75D13}

To Add 'Copy To' to the Explorer Context Menu:

create another registry entry, which Moves instead of Copies. In the CLSID, change C2FBB630 to C2FBB631 and repeat the above.

The full name of the Move To value is: {C2FBB631-2971-11d1-A18C-00C04FD75D13}


Warning: While this 'Copy To' registry hack looks flash, it can give problems, Kevin M. kindly sent in this snippet of information.When I select two or more files in Windows Explorer to open in Notepad or any other program, for every selected file - before opening it in the proper application - I first get a dialog asking me where to move the item. Cancelling this dialog brings up the next asking where to copy the file. Cancelling this dialog leads to opening of the file and bringing up the next files "move-dialog"! Pretty irritating!

No comments:

Post a Comment