PCI 0 Posted February 11, 2011 Good day everyone.My first post I've read many pages and thread so far , and i could not find a help with Dircopy functionI 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 /Yand always worked fine from command promptDirCopy("\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. Share this post Link to post Share on other sites
Varian 8 Posted February 11, 2011 Your syntax is suspect...DirCopy("FullPathToMyfiles\documents", "c:\backup\documents", 1) Share this post Link to post Share on other sites
PCI 0 Posted February 11, 2011 Your syntax is suspect...DirCopy("FullPathToMyfiles\documents", "c:\backup\documents", 1) Thank you for the response , i will try it out and keep you posted. Regards ! Share this post Link to post Share on other sites
PCI 0 Posted February 16, 2011 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 !RegardsMod Please close this thread as my answer was fullfilled.Thank you Share this post Link to post Share on other sites