Computing.Net > Forums > Windows XP > Copying Folders And Sub Folders

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Copying Folders And Sub Folders

Reply to Message Icon

Name: _-J-_
Date: February 9, 2005 at 11:28:40 Pacific
OS: Win XP SP2
CPU/Ram: 1Gb 2700 XP3200+
Comment:

I would like to know how to copy a folder across and its sub directory, but only if the folder or files in the current director do not exsist.

EG. I have a folder named Test with a file named file, however someone i know has a folder named Test and a file named file. However he also has a folder within Test named Test2 and a file named file2, within the directory test. So i want to be able to copy many folders across to the original folder on my computer, without his version over writting mine, but it needs to copy accross any files or folders that are not there.

This cannot be done manually as we are talking 100's of folders!

Thanks J



Sponsored Link
Ads by Google

Response Number 1
Name: XpUser
Date: February 9, 2005 at 11:46:00 Pacific
Reply:

Maybe this is what you are looking for? (Pssst...the best thing about it is it's FREE!)

i_XpUser


0

Response Number 2
Name: Michael J (by mjdamato)
Date: February 9, 2005 at 11:53:37 Pacific
Reply:

J,

i know you are probably looking for a more automated approach, but you can do what you want with a 3-step approach. It'll at least be a workaround until you find a better solution.

Assuming you have two folders (folder1 and folder2) and you want to copy the content of folder2 into folder1 ONLY when there is not an existing file of the same name.

1. Copy the conents of folder1 to a temporary location (tempfolder1).
2. Copy the contents of folder2 into folder1 (any files with the same name will be overwritten)
3. Copy the contents of tempfolder1 back into folder1 (any files that were overwritten with folder2 files will be overwritten again back to their original state.)

It also wouldn't be too dificult to script this to make it more automated.

Michael J


0

Response Number 3
Name: Crack
Date: February 9, 2005 at 12:18:34 Pacific
Reply:

At a DOS prompt you could try:

COPY source destination /-Y

The -Y will prompt to confirm you want to overwrite a file. Say no to each file you do not want to overwrite.


0

Response Number 4
Name: Bryco
Date: February 9, 2005 at 13:50:42 Pacific
Reply:

Karen's Replicator
I use it weekly. It is similar to the one XpUser suggested. It's free and it allows you to schedule the tasks. I did not see that feature at XpUser's link.

Bryan


0

Response Number 5
Name: _-J-_
Date: February 10, 2005 at 01:14:50 Pacific
Reply:

THanks for the reply's

Bryco that looks great, had a quick play around with it before i went to work, however i did a test run and it copied everything, even things that were there. Anybody know of any other programs.

XPUser thats too basic lol, thanks anyway.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Upgrad WIN NT 4 server to... ctfmom REFUSES to stop st...



Post Locked

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


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Copying Folders And Sub Folders

Sort Issue: mixing files and sub- www.computing.net/answers/windows-xp/sort-issue-mixing-files-and-sub/155374.html

Folders wont delete after uninstall www.computing.net/answers/windows-xp/folders-wont-delete-after-uninstall/166650.html

Generating a list of folders. www.computing.net/answers/windows-xp/generating-a-list-of-folders/138212.html