I've been successfully using this command to move files based on the date to another folder for some time now. However, when I use the same command on a folder with a lot of files (1 million+ files) it fails with the message "The specified Network name is no longer valid".
Any ideas how else I can move files out of this one huge folder? Robocopy doesn't seem to be the answer. I can't even bring up the folder in Windows Explorer as its too large and hangs Explorer. But I need to retain the files, just move them into other folders based on the date.
robocopy "\\SERVER_NAME\d$\SOURCE_FOLDER" \\SERVER_NAME\d$\DESTINATION_FOLDER /minage:20060101 /mov