How do I copy all the files in a folder and all of the files in its subfolders to a single folder on XP?
|
feedback
|
|
Assuming the names are all unique, you should be able to use this command (command group really).
To clarify - open a Command Prompt and in the root folder of the folder with the sub folders you want to copy, run that command. So, for example, if you want to copy everything in "C:\Sample Folder Tree" and all its sub directories, you could change into C:\Sample Folder Tree from the command prompt and then run that command. Or, you could just specify it in the dir section like this:
If you want to see what this will do without it actually doing anything, add an "@echo" between the do and copy - like so:
| ||||
feedback
|
That works. It needs administration cmd unless you dont want /copyall (which copies permissions and i think timestamps instead of creating new timestamps). theres a robocopy for XP and available on vista and Windows 7. copy works fine enough tho. I like robocopy bc it wont recopy the same files if the dest has a copy (lets say you get interrupted like a power outage or want to shutdown and sleep) | |||
|
feedback
|
protected by Community♦ Sep 20 '11 at 7:41
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.