Right click x number of files and move to a specific folder


Recommended Posts

In Windows 7 when I right click 1 or 100 files the menu gives me:

'Move to folder...'

Then I have to browse to the folder. I move files on a fairly regular basis to a couple of folders and I always have to browse to the folder.

What is the solution to adding an option in the right-click to send one or more selected files directly to a specific folder instead of having to browse to the folder?

TIA...

Here I wrote you a program to do this as it clutters the menu less then having each folder on it.

Just put the exe and folders.txt somewhere and make a shortcut to the exe in the sendto folder. Put each path you want to move to on a line in folders.txt.

Download

Move%20to%20Folder.png

Source:

if (Directory.Exists((string)listBox1.SelectedItem))
            {
                foreach (string file in Environment.GetCommandLineArgs())
                {
                    if (File.Exists(file))
                    new FileInfo(file).MoveTo((((string)listBox1.SelectedItem).EndsWith("\\") ? ((string)listBox1.SelectedItem) : (((string)listBox1.SelectedItem) + "\\")) + new FileInfo(file).Name + new FileInfo(file).Extension);
                }
            }

  • 4 months later...

Nice solution, but of course we are always wanting more. Here's my writeup of how that solution worked for me:

I customized the "Move to" option that I had previously added via .reg file. This customization allowed me to name specific folders to move to, without having to hunt for them. To do this, I downloaded and unzipped Movetofolder.rar.

I put the unzipped MoveToFolder folder in the appropriate place in my customized Start Menu, so that it would be available on my portable drive (where I kept a copy of the Start Menu, with its portable apps) and on network computers sharing that Start Menu.

In the MoveToFolder folder, I edited folders.txt to include a link to D:\Current, which was my central clearinghouse for random stuff. I created a shortcut to MoveToFolder.exe. I put that shortcut in my SendTo folder, which I found by pasting "%APPDATA%\Microsoft\Windows\SendTo" into the Windows Explorer address bar and hitting Enter. So now I could right-click on an item and select Send To > MoveToFolder. That popped up a Move to Folder dialog, where I had to select the target folder (even though there was only one listed) and click Move. It didn't close automatically after doing the move. This was useful but more cumbersome than a direct Move to ___ Folder context menu option would have been.

Here's hoping someone finds a way to develop that direct option. But in the meantime, thanks!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.