Re: Automate XCopy BAT file

  • Thread starter Thread starter Dave Patrick
  • Start date Start date
Hi Dave,

Excellent!
You guys (and women) make this look easy!
-----Original Message-----
xcopy c:\Data\*.* a:\Data /y

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Me said:
Hi,

Windows 2000 newcomer here.

In NT 4.0 I had a small BAT file used to back up files. I
work with VERY low tech users so the less they have to do,
the better.

All they did was insert the disk, double-click the back- up
icon and all the files would be copied automatically. The
small DOS(?) screen that would come up would disappear
when complete. Easy as pie.

With Win 2000, however, the same BAT file causes a prompt
for the user. Something to the effect of "Do you want to
overwrite the existing file?..." for each file. The
options are (Yes/No/All). Naturally, this confuses the
heck out of my users.

Here's a simple example of the BAT file:

xcopy c:\Data\*.* a:\Data

Can I automate this better like NT 4.0? Is there a switch
I can use to say "All" so the user doesn't have to do
anything?

Thanks for any help.


.
 
Back
Top