XCOPY help

  • Thread starter Thread starter Nocturnal
  • Start date Start date
N

Nocturnal

How do I copy a directory from one hard drive to another using XCOPY... and
have it ignore errors. Right now if I copy a directory and there is an
error, it will stop copying. I have heard that using XCOPY it will ignore
the errors with the right parameters. Does anyone know how to do this?

--
 
Nocturnal said:
How do I copy a directory from one hard drive to another using XCOPY... and
have it ignore errors. Right now if I copy a directory and there is an
error, it will stop copying. I have heard that using XCOPY it will ignore
the errors with the right parameters. Does anyone know how to do this?

--Use the /c switch, this allows copying files while ignoring errors. But, doing so can mess things up, depending on what the errors are. Tend to the errors.

Barry
 
Nocturnal said:
How do I copy a directory from one hard drive to another using XCOPY... and
have it ignore errors. Right now if I copy a directory and there is an
error, it will stop copying. I have heard that using XCOPY it will ignore
the errors with the right parameters. Does anyone know how to do this?

Use the /C parameter with XCOPY to have it continue copying when
errors occur.

Use XCOPY /? to see the full list of command line options for XCOPY.

Good luck

Ron Martell Duncan B.C. Canada
 
search filed: xcopy
help and support center
Copies files and directories, including subdirectories.

Syntax
xcopy Source [Destination] [/w] [/p] [/c] [/v] [/q] [/f] [/l] [/g]
[/d[:mm-dd-yyyy]] [/u] [/i] [/s [/e]] [/t] [/k] [/r] [/h] [{/a|/m}] [/n] [/o]
[/x] [/exclude:file1[+[file2]][+[file3]] [{/y|/-y}] [/z]

Parameters
Source
Required. Specifies the location and names of the files you want to copy.
This parameter must include either a drive or a path.
Destination
Specifies the destination of the files you want to copy. This parameter can
include a drive letter and colon, a directory name, a file name, or a
combination of these.
/w
Displays the following message and waits for your response before starting
to copy files:
Press any key to begin copying file(s)

/p
Prompts you to confirm whether you want to create each destination file.
/c
Ignores errors.


looks like /c
 
What type of problem can occur if I ignore the errors? The errors are
mainly from the temporary internet file folder in that the error says that
the file does not exist. Thus leaving me unable to just drag and drop the
folder from one location to another.
 

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