copying folders in dos

  • Thread starter Thread starter sabbathnut
  • Start date Start date
S

sabbathnut

i need to copy one directory into another as a batch file, i cant seem
to get the syntax correct, to enable me to create a batch file for
this process

the directory is p:\preactor HF

and i want to make a copy of this folder and call p:\pbackup
 
sabbathnut said:
i need to copy one directory into another as a batch file, i cant seem
to get the syntax correct, to enable me to create a batch file for
this process

the directory is p:\preactor HF

and i want to make a copy of this folder and call p:\pbackup


xcopy "p:\preactor HF" p:\backup /r/i/c/h/k/e/y

Open a command console (it's not DOS) and type:

xcopy /?

for an explanation of all the flags
 

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

Back
Top