Bullitt00692 Posted September 5, 2007 Posted September 5, 2007 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!
ChrisL Posted September 5, 2007 Posted September 5, 2007 try it with out the *.* see if that works [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
Bullitt00692 Posted September 5, 2007 Author Posted September 5, 2007 try it with out the *.* see if that worksRemoving the *.* works - Thanks!!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now