Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have a Documents folder copied from my previous "old" computer that I want to merge with the Documents folder on my current "new" computer. Both folders are large and complex, with many sub-folders, some nested three or four folders deep, and many files within the folders.
The proceedure I want to follow is: if the old folder has the same name as a new folder then copy the contents of the old folder into the new folder. If the folder names are different then simply copy the old folder. If file names are the same then append "old" to the old file name when copying. This needs to apply to sub-folders as well.
Has anyone got any idea how a batch file could do that please?
The normal XP windows copy thing will do the above, including merging the contents of an old folder into a new folder of the same name, except that it cannot rename a file if the old file name is the same as the new file name.

![]() |
how to merge 2 txt files ...
|
how to add a text in a fi...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |