REQUEST: Script 2 copy from multiple source folders 2 one folder BUT keep permissions
As srochford has kindly sorted my other script, I can now move all of the students MP3 out of their home drives to a shared folder.
I want to move all MP3`s that students have from any folder in their homedrives ( N: ) to a single folder on the common drive. e.g (O:\Student Music\Year 9)
I need to also copy the permissions (or just owner), so that my other new script can then rename the files from maybe mysong.mp3 to 09Jack.Jones_mysong.mp3
Ive found that xcopy can copy the permissions with the /o switch. and xxcopy can copy from multiple directories to a single folder. But both cant do both (i think)
Can anyone please suggest a way I can do this?
Thanks in advance