Rename all files in a directory(s)
Ok I've got a Folder in location 1, a folder in location 2 and i'm going to be using a rather large robocopy script to Move (not copy, move!) all files form all those directories on a set date....
Now either once the files are moved, or during the file move process I need the files to keep their current names but append 4 numbers with an underscore infront of the current file name so doc1.doc would look like 0123_doc1.doc
I should also mention that the 0123 number needs to be pulled from active directory, luckily @ChrisMiles created a fantastic little program for pulling out AD attributes for me so i've an application to do that (see this thread: http://www.edugeek.net/forums/window...les-gpp-2.html)
Any suggestions? :D