View Single Post
  (#2 (permalink)) Old
r.k Offline
Moderator
 
r.k's Avatar
 
Posts: 1,154
Join Date: Jul 2008
Location: %SystemRoot%
Default 09-27-2008, 07:32 PM

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

Quote:
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)

Quote:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\movex]
@="Move to X Folder"

[HKEY_CLASSES_ROOT\Directory\shell\movex\command]
@="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 Foldercontext menu under Folders
   
Reply With Quote