DarkGoat Posted August 14, 2005 Share Posted August 14, 2005 alright so im writing some scripts for programs that i cant get to install silently. I used autoit for a perticular scripts but i cant get the copying file code to work...can any 1 help?FileCopy(@ScriptDir & "\dlls\*.dll", "C:\Program Files\Macromedia\Dreamweaver MX 2004\*.*" , 1)FileCopy(@ScriptDir & "\dlls\*.dll", "C:\Program Files\Macromedia\Fireworks MX 2004\*.*" , 1)FileCopy(@ScriptDir & "\dlls\*.dll", "C:\Program Files\Macromedia\Flash MX 2004\*.*" , 1)FileCopy(@ScriptDir & "\dlls\*.dll", "C:\Program Files\Macromedia\FreeHand MXa\*.*" , 1)its supposed to copy the dll's from the same folder into the the 4 different folders....but it does nothing lolany 1 know why?btw this comps after my installation code incase that matters Link to comment Share on other sites More sharing options...
Nologic Posted August 14, 2005 Share Posted August 14, 2005 $folder_1 = @ScriptDir & "\dlls\*.dll"$folder_2 = @ProgramFilesDir & "\Macromedia\"FileCopy( $folder_1 , $folder_2 & "Dreamweaver MX 2004\" , 1)... Link to comment Share on other sites More sharing options...
DarkGoat Posted August 14, 2005 Author Share Posted August 14, 2005 Thank alot! That did the job Link to comment Share on other sites More sharing options...
InTheWayBoy Posted August 15, 2005 Share Posted August 15, 2005 Hmmm...wonder what those dll's do Link to comment Share on other sites More sharing options...
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