Jump to content

Recommended Posts

Posted

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 lol

any 1 know why?

btw this comps after my installation code incase that matters


Posted
$folder_1 = @ScriptDir & "\dlls\*.dll"
$folder_2 = @ProgramFilesDir & "\Macromedia\"

FileCopy( $folder_1 , $folder_2 & "Dreamweaver MX 2004\" , 1)
...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...