How to add Move to a specific folder to the context menu?

Page 1 of 4 123 ... LastLast

  1. Posts : 868
    Windows 10 x64
       #1

    How to add Move to a specific folder to the context menu?


    I'd like to select files and folders and move them to a specific folder and do that using the context menu?

    Probably Windows doesn't offer that feature by default, so maybe I should use a script, change the registry, or something.

    I tried with 'sendto' folderX, however, that doesn't -move- the files, it merely copies the file.

    Am unsure about the repeatedly corrected script solutions in some older threads that I found somewhere else.


    Thanks.

    p.s. I know there is a tutorial: "How to Add or Remove 'Copy To folder' and 'Move To folder' Context Menu in Windows 10", but AFAIK it does not include a specific folder
      My Computer


  2. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #2

    Hello @tfwul ,

    If you like, you could use the "Move To Folder" context menu added by the tutorial below, but you would have to select the folder to move the selected item(s) to.

    Add 'Copy To folder' and 'Move To folder' Context Menu in Windows 10 | Tutorials

      My Computers


  3. Posts : 868
    Windows 10 x64
    Thread Starter
       #3

    Thanks Brink!
    Yes, I know this splendid tutorial. However, as you said, I need to click-click-browse-browse-click to the specific folder.
    The shell:sendto and then drag+create a shortcut in the sendto-folder works fine, except.. it doesn't move.


    Later ...

    probably I am somewhat closer to a solution.

    FWIW..

    create a
    win-R run shell:sendto
    drag and create link of the desired folder in the sendto
    select files and at the point of selecting the sendto ... hold down the shift key.

    Like the below.

    How to add Move to a specific folder to the context menu?-shellsendto-movetofolder-04012019-155200.png

    This means one can right click move files to a specific folder, or folders if more are added to sendto.
      My Computer


  4. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #4

    @tfwul

    I'm thinking you may be able to use the "Move" command to do this from a dedicated context menu. Let me play with it a bit to see.

    What is the specific folder path you want to move to? I'll create a .reg file that will add this context menu.

    In addition, do you want it to prompt to confirm the move?
      My Computers


  5. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #5

    Here's what I got below so far that will work. It just needs the folder path you want to move to.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\*\shell\Move]
    @="Move to folder name"
    "Position"="bottom"
    [HKEY_CLASSES_ROOT\*\shell\Move\command]
    @="cmd /c move /y \"%1\" \"C:\\Users\\Brink\\Pictures\""
    
    
    
    [HKEY_CLASSES_ROOT\Directory\shell\Move]
    @="Move to folder name"
    "AppliesTo"="NOT (System.ItemPathDisplay:=\"C:\\Users\" OR System.ItemPathDisplay:=\"C:\\ProgramData\" OR System.ItemPathDisplay:=\"C:\\Windows\" OR System.ItemPathDisplay:=\"C:\\Windows.old\" OR System.ItemPathDisplay:=\"C:\\Windows\\System32\" OR System.ItemPathDisplay:=\"C:\\Program Files\" OR System.ItemPathDisplay:=\"C:\\Program Files (x86)\")"
    "NoWorkingDirectory"=""
    "Position"="bottom"
    
    [HKEY_CLASSES_ROOT\Directory\shell\Move\command]
    @="cmd /c move /y \"%1\" \"C:\\Users\\Brink\\Pictures\""
    Last edited by Brink; 04 Jan 2019 at 12:59.
      My Computers


  6. Posts : 868
    Windows 10 x64
    Thread Starter
       #6

    Hi Brink, that is really nice. Will check it out tomorrow. I don't need prompt to confirm. Regularly I have a specific scenario when this comes in very handy. Long story, uninteresting. Will get back on this.
      My Computer


  7. Posts : 868
    Windows 10 x64
    Thread Starter
       #7

    @Brink
    This is really super!
    Many thanks indeed.
    Last question, not important, merely a nice to have only: would there also be something similar for folders?
    Immediately forget it, if there is not or it is too complex. Am very happy with this one.
      My Computer


  8. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
       #8

    @tfwul

    You're most welcome.

    The context menu should already be available for files and folders to move to the folder you specified.
      My Computers


  9. Posts : 14,005
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #9

    Brink said:
    @tfwul

    You're most welcome.

    The context menu should already be available for files and folders to move to the folder you specified.
    I'm using the original tutorial and it works just as well with Folders as it does with files, just have to be careful selecting the destination to either go to the root of a drive such as D:\ or be a subFolder of another Folder such as D:\Misc.
      My Computers


  10. Posts : 31
    Windows 10 v1809
       #10

    Thanks for topic.

    I've been looking for a solution to customize it for several years. This is what I have achieved thanks to all you.
    How to add Move to a specific folder to the context menu?-moveto.png

    Unfortunately, only the first item on submenu can move files, the others do absolutely nothing.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:37.
Find Us




Windows 10 Forums