Question

  • Creator
    Topic
  • #2226255

    Help with batch file to archive files by their date

    Locked

    by castoriusj ·

    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

All Answers

Viewing 0 reply threads