Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Copy or move files using right click reg code

12 Sep 2010   #1

Windows 7 Ultimate
Copy or move files using right click reg code

Hope someone can help with this as I am very frustrated trying to get it to work correctly!

I currently have a reg file that moves a single file to my reg hack folder.

(code example pasted from reg file extra '\' do not appear within registry itself.)

[HKEY_CLASSES_ROOT\Directory\shell\Move To Reg File Store]

[HKEY_CLASSES_ROOT\Directory\shell\Move To Reg File Store\Command]
@="cmd.exe /c move \"%1\" \"D:\\All Installation Files\\Registry Hacks etc\"\""

No problem works a treat

However it is not available when you right click a folder. so you need to use this
registry entry instead, and possibly one for HKEY_CLASSES_ROOT\Directory
as well?

[HKEY_CLASSES_ROOT\Folder\shell\Move To Reg File Store]

[HKEY_CLASSES_ROOT\Folder\shell\Move To Reg File Store\Command]
@="cmd.exe /c move \"%1\" \"D:\\All Installation Files\\Registry Hacks etc\"\""

The problem is that the code for copying a folder ONLY copies the folder contents NOT the folder. Any files contained in the source folder are copied but NOT in their source folder.

I've experiment using a cmd prompt window and get the same results. I can find no info or help searching the web.

I really want a 'Move to' option but would be happy with copy to for now.

I'm not a total newbie and I have spent serious time on this but am getting nowhere.

Can anyone help PLEASE

My System SpecsSystem Spec
12 Sep 2010   #2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64

I think the move command is for moving files, or renaming files or directories.

I don't think you can use the move command for what you want.

You could use the MoveTo service, by attaching it to the context menu. Not quite the same thing , but it will do the job if you don't mind browsing to the destination folder each time.

Otherwise, maybe call up a .cmd file from the folder/directory context menu , which will copy the folder and contents, then delete the original.
My System SpecsSystem Spec
12 Sep 2010   #3

Windows 7 Ultimate x86

why not setting a shortcut to your Reg folder in "Send to" (enter shell:sendto in the search dialog to get to that folder)
If you now right click on a folder and send it there it"ll be the folder and all of its content.
But that's ultimately a copy option for move to IMHO requires editing the registry..I'll get back to you on that one.

OK, I found it.If you feel confident to do that, open regedit as admin, navigate to
Right click on ContextMenuHandlers New/Key call it"{C2FBB631-2971-11D1-A18C-00C04FD75D13}" (without the "")

If you'd like a separte Copy To Folder, repeat the process only this time, name it
"{C2FBB630-2971-11D1-A18C-00C04FD75D13}" without the quotes.

Or you just use one of Brinks Reg files and import them:
Context Menu - Add Copy To Folder and Move To Folder

My System SpecsSystem Spec

12 Sep 2010   #4
Microsoft MVP

Windows 7 Ultimate 32bit SP1

FileMenu Tools should do what you want FileMenu Tools - Download
My System SpecsSystem Spec

 Copy or move files using right click reg code

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
How to move/copy files together with it's folder
Hi everyone.. I am in a bit of trouble here. I have 1000+ collection of movies. All these movies are mixed, some are in SD format avi, and some in full HD mp4 format. All these movies are located under one folder, My Movies Collection. Underneath it, all the movies have their own respective...
General Discussion
Batch code to read, then move files from one folder to another
I'm new to batch coding, so I was hoping someone could help me out. I need to read several .txt files and search them for a specific string, lets say "key1" and "key2." If the file has key1, then it needs to be moved into directory1. If the file has key2, then it needs to be moved to directory2....
General Discussion
impossible to copy or move files
Hi all, I have a few PST files in a folder on my C drive. I cannot copy or move my files on a D drive or an external hard disk. I tried to use several user accounts which are all of them members of Admin group but unfortunately special permissions are still required. By reading a few posts...
General Discussion
Can't copy/move files to network share
Hello, I am using Windows 7 Premium and can no longer copy or move files to shares on a windows 2003 server. Also, I can not save documents to the mapped network shares either. This was working at one time, but has since stopped. It stopped when the server was disconnected from the network...
Network & Sharing
Can only copy/move one group of files at a time?
Is it just me or has Win 7 stopped the ability to move more than one group of files/folder at a time? For example, I'm trying to transfer some music album folders to a USB or another folder. I drag and drop the first album in there, but I have to wait to the progress box to finish before I can...
General Discussion
Cannot move/copy files within folder
In Vista one could move files within a folder to whatever location manually simply by dragging the file to the desired location within the folder. In WIN7 everything seems to be locked and moving a file (for example image file) to the end of a row of other files within a folder won't work. How to...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:15.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App