Dos Batch File

reicherb

Platinum Member
Nov 22, 2000
2,122
0
0
I need to create a Dos bat file to copy a folder that contains many other folders and files to another PC. The bat file will be schedule to run nightly and will need to replace the old data without being prompted. does anybody know what command I should use to do this? I can't seem to make copy or xcopy work.

Thanks.
 

LiLithTecH

Diamond Member
Jul 28, 2002
3,105
0
0
Why not use Microsoft's Backup Tool.

It's included with every version of Windows and can be scheduled
to Backup to any PC on a network.
 

JW

Member
Oct 11, 1999
118
1
81
I don't have a Windows machine handy to verify, but I believe you can use a /y switch with xcopy to overwrite files without prompting.

-jw
 

reicherb

Platinum Member
Nov 22, 2000
2,122
0
0
Thanks guys. I found a free tool called xxcopy that has 10x the features of xcopy. I'm not using backup, because I don't want a backup, I want to move the data to another location for processing.