What would I put for a .cmd script where I want to move all the files from one directory to another, but when they reach their destination they are all sorted out in folders by date created? So they're all just together in one folder, but when I move them to the archived folder, there will be subfolders that contain them by date. So in the new folder, there would be subfolders that look like:
And they would contain the files from those dates. The files themselves are actually named by date. So a file is named 20110601, 20110602. I know how to move files and create directories from the cmd line, but I don't know how to tell it to create all the folders needed to sort these files by their individual dates and then how to send the files to their respective subfolders. Any help would be much appreciated.