I have a batch file I shell to which copies files. Rather than shelling out, I’d like to code the "copy" operation directly in my VBA routine. I’m aware of the FileCopy command but was wondering if it’s possible to copy only newer files similar to the /d/y switch in my batch code? Also, does it work with wildcards (...\*.*)?
Following is a small sample of the batch file.
c:
cd \cad_files\map
xcopy z:\map\base.dgn /d /y
xcopy z:\map\parcels.dgn /d /y
xcopy z:\plans\*.* c:\cad_files\plans\*.* /s /e /d /y
Is this possible?
Thanks,
SKK
Following is a small sample of the batch file.
c:
cd \cad_files\map
xcopy z:\map\base.dgn /d /y
xcopy z:\map\parcels.dgn /d /y
xcopy z:\plans\*.* c:\cad_files\plans\*.* /s /e /d /y
Is this possible?
Thanks,
SKK