FileToFolder creates a folder from a file’s name and moves the file into it, all from one right-click in Windows Explorer. Select one file or many, such as a batch of scanned invoices or client reports, and each one is moved into a new folder with the same name as the file. It does the opposite just as quickly: FolderToFile brings the files out of their folders into the current folder, and Dissolve shifts the contents of a folder back one level, keeping the sub-folder structure as it is.
Select the files and right-click
In Windows Explorer, select a file or several files, right-click and choose FileToFolder. The installer has already registered the command with the Explorer context menu, and there is nothing to set before the first use.

Each file moves into its own folder
FileToFolder makes a new folder with the same name as the file and moves the file into it, so c:\Test\Tax\Receipt.pdf becomes c:\Test\Tax\Receipt\Receipt.pdf. Select a batch of scanned invoices together and each invoice ends up in a folder of its own.

Bring files back out with FolderToFile
Right-click a folder, or several folders, and choose FolderToFile. The files are extracted from their folders and placed in the current folder, and FileToFolder can delete the empty folders and sub-folders left behind.

Dissolve a folder one level
To keep the sub-folders instead, right-click a folder and choose Dissolve. Its files and folders move into the folder it sits in, the structure of the sub-folders is maintained, and only the selected folder is dissolved. A Projects folder can be dissolved, for example, so the client folders inside it sit one level up.

Set the rules the menu follows
Open FileToFolder from the Start Menu, or with Open FileToFolder… on the context menu. From the context menu you will be greeted by a cautionary message first, to make sure you are aware of the risks of folderising your files; if you accept the conditions, FileToFolder opens the Home screen. Go to Settings › Context Menu. Transforms make subtle changes to the new folder and file names, such as UPPER CASE, so Receipt.pdf goes into a RECEIPT folder. The Unfolderising options set whether sub-folders are searched, whether the file filter is used and which empty folders are deleted. Dissolve either aborts on a file or folder name clash or renames the file ..._1. Every context-menu action follows these rules.

Run it from a script (optional)
FileToFolder can also Folderise, Un-Folderise or Dissolve from the command line. Give the path with no trailing backslash, a run flag of 30 to Folderise, 50 to Un-Folderise or 80 to Dissolve, then the options for that action. To folderise every text file in a folder and its sub-folders: "C:\Program Files (x86)\CodeLine\FileToFolder\FileToFolder.exe" "c:\download\test" "30" "*.txt" "true"
Good to know
- By default, Windows allows a maximum of 15 files to be selected in Explorer and actioned at once. A registry setting raises the limit; back up your registry first, as described under Increasing the max number of files.
- Opened as an application, FileToFolder blocks certain high-risk folders, such as your Windows folder, from being selected. From the context menu that protection is removed, since you are consciously selecting the folder yourself.
- To check a batch first, open the application: its Home screen can Preview the result before you click Folderise, and you can select and unselect individual files in the list. Include Sub-Folders folderises the matching files in every sub-folder of the path as well.
Which licence you need
FileToFolder offers two levels of licensing: Free and Pro. The context-menu commands (FileToFolder, FolderToFile and Dissolve) and the command line come with a Pro licence, and the Free licence folderises files from the application window. See Licensing.
Try every feature free for 7 days
One download, fully functional.
