Home > How do I ?, Windows Vista, Windows XP > How to Add Move To X Folder and Copy to X Folder context menu to move or copy files n folders to specified folder

How to Add Move To X Folder and Copy to X Folder context menu to move or copy files n folders to specified folder

September 28th, 2008

My friends, you have learnt many priceless tips, but there is something that had been bothering me that How to Add Move To X Folder and Copy to X Folder context menu to move or copy files n folders to specified folder. So here is the trick:

Add Move To X Folder

Copy the VBS Code into Notepad and Save as MoveX.vbs

Const FOF_CREATEPROGRESSDLG = &H0&
TargetFolder = “[Enter your Sepecified folder path]”
Set objShell = CreateObject(”Shell.Application”)
Set objFolder = objShell.NameSpace(TargetFolder)
objFolder.MoveHere WScript.Arguments.Item(0), FOF_CREATEPROGRESSDLG 

Replace [Enter your Sepecified folder path] with your folder
Copy MoveX.vbs to C:\Windows\System32 folder

Now copy below registry code into notepad and save with .reg extension (like MoveX.reg)

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectory*movex]
@=”Move to X Folder”

[HKEY_CLASSES_ROOTDirectory*movexcommand]
@=”wscript C:\Windows\System32\MoveX.vbs %l”

[HKEY_CLASSES_ROOTDirectoryshellmovex]
@=”Move to X Folder”

[HKEY_CLASSES_ROOTDirectoryshellmovexcommand]
@=”wscript C:\Windows\System32\MoveX.vbs %l” 

D’click on movex.reg to patch the reg code….n Refresh.

you’ll get Move to X Folder context menu under Files and Folders.

Add Copy To X Folder

Copy the VBS Code into Notepad and Save as CopyX.vbs

Const FOF_CREATEPROGRESSDLG = &H0&
TargetFolder = “[Enter your Sepecified folder path]”
Set objShell = CreateObject(”Shell.Application”)
Set objFolder = objShell.NameSpace(TargetFolder)
objFolder.CopyHere WScript.Arguments.Item(0), FOF_CREATEPROGRESSDLG 

Replace [Enter your Sepecified folder path] with your folder
Copy CopyX.vbs to C:WindowsSystem32 folder

Now copy below registry code into notepad and save with .reg extension (like CopyX.reg)

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectory*Copyx]
@=”Copy to X Folder”

[HKEY_CLASSES_ROOTDirectory*Copyxcommand]
@=”wscript C:\Windows\System32\CopyX.vbs %l”

[HKEY_CLASSES_ROOTDirectoryshellCopyx]
@=”Copy to X Folder”

[HKEY_CLASSES_ROOTDirectoryshellCopyxcommand]
@=”wscript C:\Windows\System32\CopyX.vbs %l” 

D’click on Copyx.reg to patch the reg code….n Refresh.

you’ll get Copy to X Folder context menu under Files and Folders.

How do I ?, Windows Vista, Windows XP , , , , , ,