Copy or move files using right click reg code

n4ken

New member
Local time
9:30 PM
Messages
3
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 :party:

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 :confused:
 

My Computer

OS
Windows 7 Ultimate
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 Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
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
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers
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:
http://www.sevenforums.com/tutorials/516-context-menu-add-copy-folder-move-folder.html

Enjoy
-DG
 
Last edited:

My Computer

Computer Manufacturer/Model Number
HP m8000n
OS
Windows 7 Ultimate x86
CPU
DualCore AMD Athlon 64 X2, 2600 MHz 5200+
Motherboard
Asus M2N68-LA (Narra)
Memory
Samsung 2GB DDR2
Graphics Card(s)
Onboard NVIDIA GeForce 6150SE nForce 430
Sound Card
Onboard nVIDIA nForce 6100-430 (MCP61P)
Monitor(s) Displays
Westinghouse 19" LED
Screen Resolution
1280x1024
Hard Drives
SATA II Seagate Barracuda 500GB
USB II WD Elements 500GB
USB II WD My Book 1TB
USB II WD My Book 2TB
PSU
Stock (HP)
Case
Stock (HP)
Cooling
Stock
Keyboard
Logitech Classic KB 200
Mouse
Standard HP opticle USB mouse

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
Back
Top