how can i ignore file reading error while coping

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear Friends,

i want to copy a foler which is having hundreds of folder and thousands of
files, when i copy and paste that folder it copies some files and just stops
coping whenever it gets file reading error. i want to ignore that files which
cannot be copied and copy all other files.

how to ignore file reading error while coping. b'cos there is no ignore
option available while coping.

Thanks
Kamlesh
 
Could you supply the exact error message you received ? Also, which
type of Folder/Files is it ( A System folder/Application or User data )?
Finally, a size & count of the folder would help (Right Click on the top
level or Parent folder and then Left Click Properties.
There are just too many variables to give you a clear and concise
answer on how to avoid the Read Error without more details.
 
Kamlesh said:
Dear Friends,

i want to copy a foler which is having hundreds of folder and thousands of
files, when i copy and paste that folder it copies some files and just stops
coping whenever it gets file reading error. i want to ignore that files which
cannot be copied and copy all other files.

how to ignore file reading error while coping. b'cos there is no ignore
option available while coping.

Thanks
Kamlesh

Go to a cmd prompt and use xcopy with the /s & /c switches.
Example:
xcopy c:\folder1\*.* /s /c c:\folder2
The /s copies subdirectories, the /c continues coying even if errors occur.

If the path(s) has longnames or spaces enclose in quotes.
Example:
xcopy "C:\source folder\*.*" /s /c "C:\destination folder"

Steve
 
Kamlesh said:
how to ignore file reading error while coping. b'cos there is no ignore
option available while coping.

The /C switch on the XCOPY command causes it to continue copying even
if errors occur.

For detail on XCOPY, open a command console (aka "DOS Box") and type:

xcopy /?
 

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