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)
...

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
  • Recently Browsing   0 members

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