Windows Help Forum  

Windows Tips, Tutorials & Articles Submit & Discuss Windows 7 & Windows Vista Tips, Tutorials & Articles.


Reply
 
Thread Tools Display Modes
  (#1 (permalink)) Old
patricio2337 Offline
Beginner
 
patricio2337's Avatar
 
Posts: 10
Join Date: Sep 2008
Location: Argentina
Question How to add Move To Any Folder, in Right Click Context Menu in Vista ? - 09-27-2008, 04:05 PM

Hello Everybody, in one of my surfing i found this Amazing Page, and i´ve learnt many priceless tips, BUT there is something that had been bothering me. How can i add "Move to X folder" to Context Menu? you know, if you only want to display "move to" you can use the trick here :

Add Move To or Copy To to Windows Vista Explorer Right Click Context Menu

It´d be lovely to just click that link and all those files move there Without clicking.time-saving!

Just that, Thx for reading!


NO REGRET LIFE
   
Reply With Quote
  (#2 (permalink)) Old
r.k Offline
Moderator
 
r.k's Avatar
 
Posts: 1,143
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
  (#3 (permalink)) Old
patricio2337 Offline
Beginner
 
patricio2337's Avatar
 
Posts: 10
Join Date: Sep 2008
Location: Argentina
Default Works! - 09-27-2008, 09:46 PM

It works !

But only with folders, i mean if you select individual items it does not work, also if i select many items ... So what do you suggest ??


NO REGRET LIFE
   
Reply With Quote
  (#4 (permalink)) Old
Vishal Gupta Offline
Microsoft MVP
 
Vishal Gupta's Avatar
 
Posts: 28
Join Date: Jul 2008
Location: AskVG.com
Default 09-28-2008, 06:53 PM

^^ To add the option for files, simply replace "directory" with "*" in above mentioned registry code as following:

Code:
Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\*\shell\movex\command]
@="wscript C:\\Windows\\System32\\MoveX.vbs %l"
   
Reply With Quote
  (#5 (permalink)) Old
r.k Offline
Moderator
 
r.k's Avatar
 
Posts: 1,143
Join Date: Jul 2008
Location: %SystemRoot%
Default 09-28-2008, 08:10 PM

Quote:
Originally Posted by Vishal Gupta View Post
^^ To add the option for files, simply replace "directory" with "*" in above mentioned registry code as following:

Code:
Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\*\shell\movex\command]
@="wscript C:\\Windows\\System32\\MoveX.vbs %l"
Thanks Vishal....
I was just around to post....you have defeated me.
   
Reply With Quote
  (#6 (permalink)) Old
patricio2337 Offline
Beginner
 
patricio2337's Avatar
 
Posts: 10
Join Date: Sep 2008
Location: Argentina
Wink One more thing...Just one! - 09-29-2008, 12:26 PM

Perfect! It works now with individual items, BUT (again...) it still does not work with group of items, Will you people be able to solve this puzzle?

Thanks So Much For Your Help, Anyway!


NO REGRET LIFE
   
Reply With Quote
  (#7 (permalink)) Old
HappyAndyK Online
Site Administrator
 
HappyAndyK's Avatar
 
Posts: 3,340
Join Date: Jun 2008
Default 09-30-2008, 04:07 AM

Thanks Ramesh & Vishal for the wonderfully original tutorial.

Ramesh has also posted a tut on How to add Copy To ANY Folder on his blog. Worth a check out too!
   
Reply With Quote
  (#8 (permalink)) Old
patricio2337 Offline
Beginner
 
patricio2337's Avatar
 
Posts: 10
Join Date: Sep 2008
Location: Argentina
Default Should i Get my part in the copyright? - 09-30-2008, 12:17 PM

I mean the move to x folder is my idea,i want my copyright!
XD

Come on you people! I Know you can tweak win as much as you like! Think,How can i select various items with Your command?

PD:HKEY_CLASSES_ROOT\Directory\shell\Patricio´s You should Change the name of the registry in the part "patricio´s" as you like,if not you´ll have "Move to x folder" in your context menu,instead of move to "Monica´s" or ""as you wish to call your folder" XD!
Yey


NO REGRET LIFE

Last edited by patricio2337; 09-30-2008 at 12:39 PM.. Reason: adding...;mistakes
   
Reply With Quote
  (#9 (permalink)) Old
patricio2337 Offline
Beginner
 
patricio2337's Avatar
 
Posts: 10
Join Date: Sep 2008
Location: Argentina
Wink Ops, I did it again! - 10-01-2008, 12:44 PM

Well i make a mistake in the last reply,and i want to correct it
In order to change the name of the context menu option,which is added as explained in This post, You´ll have to change next:

"quote:
Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\*\shell\movex\command]
@="wscript C:\\Windows\\System32\\MoveX.vbs %l"

Put instead of "move to x folder", The name You like to call it! That simple,sorry for not editing last reply,i was late...

And what Ramesh and Vishal said is FINE,i wasn´t able to send all those files to the Xfolder due to the fact that I was also selecting some system archives(such as my pc,my douments,Etc...) So IT WORKS 100%. Excuse me...XD Happy again.! Now what can i do to change the world....maybe plant a tree XD


NO REGRET LIFE

Last edited by patricio2337; 10-01-2008 at 12:55 PM.. Reason: Adds...
   
Reply With Quote
  (#10 (permalink)) Old
HappyAndyK Online
Site Administrator
 
HappyAndyK's Avatar
 
Posts: 3,340
Join Date: Jun 2008
Default 10-01-2008, 04:32 PM

Quote:
Originally Posted by patricio2337 View Post
....maybe plant a tree
Now thats a real nice idea, patricio2337
   
Reply With Quote
Reply

Bookmarks

Tags
vista context shell tweak

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


 
Partner Links












Copyright © 2007 - 2010 The Windows Club

Search Engine Friendly URLs by vBSEO 3.3.0