Sign in to follow this  
Followers 0
Bullitt00692

DirCopy and CA Software Delivery

3 posts in this topic

I am writing a script that needs to copy files from a CA Software Delivery package to the C: drive of a client laptop.

I can use the FileCopy command in the below format and I can copy files to the destination folder:

"FileCopy("%0\..\*.*", "C:\Program Files\Firewall Temp", "1")"

Now I need to copy a directory structure to a client's C: drive and tried the below command, with no luck:

DirCopy("%0\..\*.*", "C:\Program Files\Firewall Temp", 1)

Some options I am looking at include creating a self extracting ZIP file and copy the ZIP file down to the machine and then un-zipping the ZIP file to keep the directory structure. Are there any other suggestions?

Any thought or suggestions on how to get a files and associated directory structure down to a C: drive?

Thanks!

Share this post


Link to post
Share on other sites



try it with out the *.* see if that works

Removing the *.* works - Thanks!!

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  
Followers 0