Backup query

T

TR

Hi,
Using windows 2000 on our work computer and we have to backup our files. Is
there a simple program that can look for selected files (in our case doc and
xls) on the harddrive and back them up to a flash drive?
We have a number of users creating important files all over the harddrive.
Using the Win 2000 backup program is a nightmare, trying manually to find
all the files. It does not seem to have a filter system in it.
Any suggestions for an easy to use program would be appreciated.

TR
 
P

Pegasus \(MVP\)

TR said:
Hi,
Using windows 2000 on our work computer and we have to backup our files. Is
there a simple program that can look for selected files (in our case doc and
xls) on the harddrive and back them up to a flash drive?
We have a number of users creating important files all over the harddrive.
Using the Win 2000 backup program is a nightmare, trying manually to find
all the files. It does not seem to have a filter system in it.
Any suggestions for an easy to use program would be appreciated.

TR

Create the batch file below, then create a shortcut to it so that
your users can click it when necessary.

@echo off
xcopy /y /c /d /y "c:\Documents and Settings*.doc" F:\Backup\
xcopy /y /c /d /y "c:\Documents and Settings*.xls" F:\Backup\
echo.
echo Press the Space Bar to close this window.
pause > nul
 
T

TR

Pegasus (MVP) said:
Create the batch file below, then create a shortcut to it so that
your users can click it when necessary.

@echo off
xcopy /y /c /d /y "c:\Documents and Settings*.doc" F:\Backup\
xcopy /y /c /d /y "c:\Documents and Settings*.xls" F:\Backup\
echo.
echo Press the Space Bar to close this window.
pause > nul

Thanks muchly Pegasus
 
S

Stubby

Are two "/y" switches needed?
You might want to add /e to copy empty directories, /s to copy
subdirectories and /m to mark files as having been backed up. /m will
caused them to be skipped the next time you backup.
 
P

Pegasus \(MVP\)

No, only one /y switch is required, of course. Thanks
for pointing this out.

I'm not very fond of the /m switch. The archive attribute
(which the switch monitors) can be set by programs other
than xcopy.exe too. The /d switch is more reliable - it
ensures that the target folder always has a full set of the
latest files, without causing unchanged files to be copied again.
 
T

TR

New to batch files and got 'invalid switch - /y' message using Pegasus's
original setting. Trial and error and a bit of googling for xcopy switches
got me onto the right track. Thanks all.
 
S

Stubby

TR said:
New to batch files and got 'invalid switch - /y' message using Pegasus's
original setting. Trial and error and a bit of googling for xcopy switches
got me onto the right track. Thanks all.

Get into a CMD box and type xcopy /?
 
D

DL

Wasn't 'all over harddrive' mentioned?

Pegasus (MVP) said:
Create the batch file below, then create a shortcut to it so that
your users can click it when necessary.

@echo off
xcopy /y /c /d /y "c:\Documents and Settings*.doc" F:\Backup\
xcopy /y /c /d /y "c:\Documents and Settings*.xls" F:\Backup\
echo.
echo Press the Space Bar to close this window.
pause > nul
 

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