Jump to content
Sign in to follow this  

Question about copying files

Recommended Posts


I am writing a script to copy some files to specific locations at specific times and am debating on whether to use FileCopy, DirCopy or good old xcopy. I have looked through the documentation but cannot figure out what DirCopy does on error, such as an open file.

I know it returns an error code, but does it continue copying or does it stop on the first error?

If that is the case I would lean towards using xcopy with the "/c" parameter which continues even if an error occurs.

Alternatively I could use FileCopy, however I think this would make my script overly complicated considering the number of subdirectories in question.

Thanks for any feedback.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.