Jump to content

DirCopy with hidden read only system files


PCI
 Share

Recommended Posts

Good day everyone.

My first post :)

I've read many pages and thread so far , and i could not find a help with Dircopy function

I Have a folder to copy to another backup folder

folder contains files and subdirectories.

Some of the files are hidden or read only.

In a batch file i'm using right now :

xcopy c:\Myfiles\documents\*.* c:\backup\documents /e /v /i /R /Y

and always worked fine from command prompt

DirCopy("\Myfiles\documents\*.* ","c:\backup\documents", 1)

I'm missing something ?

Is there any flags that i could add to do the same as xcopy in batch command above ?

Any input or guidelines will be most appreciate.

Thank you Mods for this great forums My Support and donations is in my thoughts.

Link to comment
Share on other sites

Thank you for the response , i will try it out and keep you posted.

Regards !

My Apologies ,for not replying sooner .

It worked fine just fine.

Thank you so much !

Regards

Mod Please close this thread as my answer was fullfilled.

Thank you

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...