XCOPY question

  • Thread starter Thread starter Howard Brazee
  • Start date Start date
H

Howard Brazee

I have a batch file that I use to do some backups.

One line I have is:

Xcopy "%USERPROFILE%\My Documents\BRS Names and Numbers.doc" "c:\floppy\BRS
Names and Numbers.doc" < c:\belfry\y


Trouble is, when I run it, it asks me whether I am copying a file or a
directory. I can fix this by using a wild card, but I would rather specify
this file precisely. Is there a parm I can use?

Should I change it to

Xcopy "%USERPROFILE%\My Documents\BRS Names and Numbers.doc" "c:\floppy\BRS
Names and Numbers.doc" < c:\belfry\y <c:\belfry\f

??
 

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

Similar Threads


Back
Top