Adding new files to folder

J

JimT

I am using an external hard drive(D) to back up my computer. As I do work
on my computer I want to add this new work to the corresponding folder on my
backup hard drive. If I drag the folder to the (D) drive I get the dialog
box to overwrite all the files that are already in the folder. I just want
to add the new files. Is there an easy way to add these files? Thanks, Jim
 
P

Pegasus \(MVP\)

JimT said:
I am using an external hard drive(D) to back up my computer. As I do work
on my computer I want to add this new work to the corresponding folder on my
backup hard drive. If I drag the folder to the (D) drive I get the dialog
box to overwrite all the files that are already in the folder. I just want
to add the new files. Is there an easy way to add these files? Thanks, Jim

This is usually done in a batch file. Here is an example:

@echo off
xcopy /d /y /s "c:\documents and settings\JimT\*.*" "e:\SomeFolder\"
pause

When you run the batch file, it will only copy new files and files whose
date stamp on drive C: is more recent than on drive E:.
 
C

Colon Terminus

You might consider using the Replace command.

Start a command prompt and enter "replace /?" without the quotes. See if
that might work for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top