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

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 68,836
    64-bit Windows 11 Pro for Workstations
       #11

    Hello @Sorrymyen, and welcome to Ten Forums.

    If you like, post your .reg file for your context menu, and I'll be happy to take a look at it to see what may be wrong.
      My Computers


  2. Posts : 31
    Windows 10 v1809
       #12

    Failed act. I got confused with the code tag. We will see now...

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para]
    "SubCommands"=""
    "MUIVerb"="Move to"
    "Icon"="D:\\crvg2010\\1 - SIS\\Arquivo de Ícones\\etc\\reload02.ico"
    "SeparatorAfter"=""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell]
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\0 - Desktop]
    "MUIVerb"="Desktop"
    "Icon"="%SystemRoot%\\System32\\SHELL32.dll,34"
    "Extended"=""
    "CommandFlags"=dword:00000040
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\0 - Desktop\command]
    @="cmd /c move /y \"%1\" \"C:\\Users\\user\\Desktop\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\1 - APPS]
    "MUIVerb"="Apps Folder (D:/apps)"
    "Icon"="%SystemRoot%\\System32\\shell32.dll,4"
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\1 - APPS\command]
    @="cmd /c move /y \"%1\" \"D:\\apps\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\2 - DOCS]
    "MUIVerb"="Docs Folder (D:/documents)"
    "Icon"="%SystemRoot%\\System32\\shell32.dll,4"
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\2 - DOCS\command]
    @="cmd /c move /y \"%1\" \"D:\\documents\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\3 - ETC]
    "MUIVerb"="Etc Folder (D:/etc)"
    "Icon"="%SystemRoot%\\System32\\shell32.dll,4"
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\3 - ETC\command]
    @="cmd /c move /y \"%1\" \"D:\\etc\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\4 - SLAVE]
    "MUIVerb"="Slave Driver (E:/doc/personal/new)"
    "Icon"="%SystemRoot%\\System32\\shell32.dll,4"
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\4 - SLAVE\command]
    @="cmd /c move /y \"%1\" \"E:\\doc\\personal\\new\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\5 - DVD]
    "MUIVerb"="DVD Drive (F:/personal computer/docs)"
    "Icon"="%SystemRoot%\\System32\\shell32.dll,4"
    "CommandFlags"=dword:00000040
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\5 - DVD\command]
    @="cmd /c move /y \"%1\" \"F:\\personal computer\\docs\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\C]
    "MUIVerb"="Drive C (C:)"
    "Icon"="D:\\crvg2010\\1 - SIS\\Arquivo de Ícones\\windows10\\imageres_36.ico"
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\C\command]
    @="cmd /c move /y \"%1\" \"C:\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\D]
    "MUIVerb"="Drive D (D:)"
    "Icon"="D:\\crvg2010\\1 - SIS\\Arquivo de Ícones\\windows10\\imageres_35.ico"
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\D\command]
    @="cmd /c move /y \"%1\" \"D:\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\E]
    "MUIVerb"="Drive E (E:)"
    "Icon"="D:\\crvg2010\\1 - SIS\\Arquivo de Ícones\\windows10\\imageres_35.ico"
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\E\command]
    @="cmd /c move /y \"%1\" \"E:\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\USB]
    "MUIVerb"="USB (G:)"
    "Icon"="D:\\crvg2010\\1 - SIS\\Arquivo de Ícones\\etc\\System 32 - Windows 10\\usbui_111.ico"
    
    [HKEY_CLASSES_ROOT\Directory\shell\zMover para\shell\USB\command]
    @="cmd /c move /y \"%1\" \"G:\""
      My Computer


  3. Posts : 68,836
    64-bit Windows 11 Pro for Workstations
       #13

    Does the commands show up in the registry after merging it?
      My Computers


  4. Posts : 13,985
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #14

    Sorrymyen said:
    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.
    Attachment 219928

    Unfortunately, only the first item on submenu can move files, the others do absolutely nothing.
    The Paths shown in the image show the forward slash / but needs to use the backslash \ in file management.
      My Computers


  5. Posts : 31
    Windows 10 v1809
       #15

    I also thought about it, Berton, but it also did not work with backslashes. Also, unless I'm wrong, forward slashes are only in "MUIVerb" titles, not in commands. One way or another, I can only move files within the same partition, as long as it's not for the root of it.

    And yes, Brink, I can see them in Regedit as ...
    How to add Move to a specific folder to the context menu?-moveto2.png
      My Computer


  6. Posts : 13,985
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #16

    As shown in the right panel of your image the space plus a forward slash is used with Switches on a command, that's normal as shown in this partial snip of a Command Prompt window:
    How to add Move to a specific folder to the context menu?-image.png
    I haven't been seeing any issues with moving to different Folders on the same or different drives or partitions. I do run into a renaming issue now and then on downloaded files where the change isn't accepted unless I first add a character and save then rename the file to remove the offending character, haven't figured that out yet but not a killer of a problem.
      My Computers


  7. Posts : 31
    Windows 10 v1809
       #17

    Berton said:
    As shown in the right panel of your image the space plus a forward slash is used with Switches on a command, that's normal as shown in this partial snip of a Command Prompt window: (...)
    But the use of quotation marks would nullify such behavior (cmd /c move /y "%1" "D:\apps"), would not it?

    Berton said:
    I haven't been seeing any issues with moving to different Folders on the same or different drives or partitions. (...)
    Do you use the registry directly for this or some program that handles context menus? In the first hypothesis, could I share it here so that I can correct mine?
      My Computer


  8. Posts : 13,985
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #18

    I don't see any mention of quotes in the Help screen so don't know about their effect, might be something in my old DOS Batch Files manual but will have to try finding it [haven't needed it a long time].

    I don't use the Registry for file management, just Move and Copy or simple drag and drop.
      My Computers


  9. Posts : 31
    Windows 10 v1809
       #19

    I thought we were talking about customizable context menus via registry.

    I also have no issues moving and copying files to different locations, partitions and drives using the native cut and copy commands in W10. My dream of Archimedes is to find a way to put folders as different destinations in a CopyTo menu.

    Berton said:
    (...) I do run into a renaming issue now and then on downloaded files where the change isn't accepted unless I first add a character and save then rename the file to remove the offending character, haven't figured that out yet but not a killer of a problem.
    Please, post your code, it looks interesting.
    Last edited by Sorrymyen; 07 Jan 2019 at 11:30.
      My Computer


  10. Posts : 31
    Windows 10 v1809
       #20

    Brink said:
    Does the commands show up in the registry after merging it?
    Well, finally I was able to find the command that copies folders between partitions and deletes the source.
    @="cmd /c robocopy /move /s /e "%1" "X:\\anyfolder""

    New problem: The contents of the folder are copied throughout its structure, except for the parent folder itself.
      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 05:17.
Find Us




Windows 10 Forums