SEARCH

How-To Geek

How to Create a Folder from Selected Files in Windows

00_lead_image_files2folder_dialog

We’ve previously written about a tool that allows you to create a bunch of folders at one time from a list of words or phrases. However, what if you want to create one or more folders from a bunch of selected text files?

There’s a simple, free tool, called Files 2 Folder, that allows you to do that. Installing Files 2 Folder adds an option to the context menu for Windows Explorer. Simply extract the .zip file you downloaded (see the link at the end of this article). Right-click on the Files2Folder.exe file and select Run as administrator.

01_running_files2folder

If the User Account Control dialog box displays, click Yes to continue.

NOTE: You may not see this dialog box, depending on your User Account Control settings.

02_uac_dialog

A dialog box displays asking if you want to register the shell extension. Click Yes to continue.

03_register_shell_extension

A confirmation dialog box tells you that the Files 2 Folder menu option has been added to the context menu for Windows Explorer. Click OK to close the dialog box.

04_menu_entry_created_dialog

Once you’ve added the Files 2 Folder option to the context menu, a shortcut is added to the same folder containing the Files2Folder.exe file that allows you to unregister the shell extension, should you want to. Double-click the shortcut to do so.

05_unregister_shell_extension_shortcut

A message displays that the shell extension was unregistered.

06_shell_extension_successfully_unregistered

If you want to move one file to a new folder, right-click on that file and select the Files 2 Folder option from the popup menu.

07_selecting_files2folder_option

A new folder is created with the same name as the file (without the extension) and the file is moved (not copied) into the folder.

08_folder_created_from_one_file

If you select multiple files, right-click on them, and select Files 2 Folder, a dialog box displays, asking what you want to do. To move all the files to one new folder, select the Move all selected items into a subfolder named option and enter a name for the new folder in the edit box.

To move files to separate folders based on their names (not counting the extensions), select the second option, Move each file to individual subfolders based on their names.

To move a list of files with different file extensions to separate folders based on the extensions, select the third option, Move each file to subfolders based on their file extensions.

In all three cases, the files are automatically moved (not copied) into their respective folders.

09_options_for_multiple_files_selected

The following image shows an example of choosing the first option and moving all selected files into a new folder with a name you specify.

10_myfiles_folder_created

You can also move folders into other folders. To move a folder into a new folder, right-click on the folder, and select Files 2 Folder from the popup menu. The folder is moved to a new folder that is named the same as the selected folder with a tilde (~) added to the end of the name.

11_new_folder_from_folder

Download Files 2 Folder from http://skwire.dcmembers.com/wb/pages/software/files-2-folder.php.

Officially, Files 2 Folder supports only 32-bit versions of Windows XP, Vista, and Windows 7. However, we tested it on a Windows 7 Ultimate, 64-bit machine and it worked fine. Be sure to run the program as administrator in Windows 7, Vista, and Windows 8, otherwise the option is not added to the context menu.

Lori Kaufman is a freelance technical writer who likes to write geeky how-to articles to help make people's lives easier through the use of technology. She loves watching and reading mysteries and is an avid Doctor Who fan.

  • Published 09/27/12

Comments (3)

  1. toucan

    Seems like a fairly simple program to make if you are a programmer. Probably safer to make your own then downloading a 3rd party app!
    Windows should probably come with a files2folder option in the context menu

  2. Lalit

    Thanks for the article! Sounds like a handy little tool to try and keep file clutter at bay.

  3. nettrotter

    something like smart folders. it can draw the files to a file with the registered extension names and bunch all of them into one folder~really

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!