lightdemon Posted June 27, 2007 Share Posted June 27, 2007 (edited) i have 2 file, a.exe and b.exe, that file are in c:\ and i want to insert them in my script and put them in the tempdir, the code should be: FileInstall("c:\a.exe", @tempdir) FileInstall("c:\b.exe", @tempdir) but it doesn't work!!! and the script continues without giving errors.... if I prove: FileInstall("c:\a.exe", "c:\windows\temp\") FileInstall("c:\b.exe", "c:\windows\temp\") everything works. also i prove: $tempdir = @tempdir FileInstall("c:\a.exe", $tempdir) FileInstall("c:\b.exe", $tempdir) then the problem not is the macro, (on the guide it uses the example of a variable, not of a macro). can you help me? thanks in advance you always excuse my English Edited June 27, 2007 by lightdemon Link to comment Share on other sites More sharing options...
Developers Jos Posted June 27, 2007 Developers Share Posted June 27, 2007 FileInstall("c:\a.exe", @tempdir & "\") FileInstall("c:\b.exe", @tempdir & "\") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
lightdemon Posted June 27, 2007 Author Share Posted June 27, 2007 thanks!!!!!!!!! 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