Question Locked

Help with batch file to archive files by their date

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I've scoured the internet for a while, and figured i should just straight up ask.

Im hoping to create a batch file that parses through a directory of files and extracts the month/year they are created. Then a folder is created where the files are organized respectively.

for example-
info1.txt date created 1/20/07
info2.txt date created 2/22/07

folders 1/07 and 2/07 are created

file info1.txt is moved to folder 1/07
file info2.txt is moved to folder 2/07
-

operating system is windows xp

any thoughts suggestions would be greatly appreciated

1 reply

This discussion is closed to new replies.