Move files to sub-folders

This function allows you to take a whole set of files in a folder and move them to suitable sub-folders.

 

Example:

In c:\temp you have

2001 Jan.txt

2001 Feb.txt

2003 Jan.txt

2003 Feb.txt

2003 March.txt

2003 Oct.txt

etc. and you want them sorted by year into different folders.

Using the template AAAA* you will take the first four characters of your files and place each into a sub-folder named appropriately.

 

Results

c:\temp\2001 contains 2001 Jan.txt, 2001 Feb.txt

and all the others are in c:\temp\2003

 

Syntax

? = ignore this character

A = use this character in the file-name

* = use no further characters in the file-name

 

Click the Permalink button if you want to copy a link to this page.