whyme Posted February 6, 2004 Share Posted February 6, 2004 Invalid FileInstall() function: FileInstall(@DesktopDir & "\Test", @DesktopDir & "\Test1.bat") I get this Error when trying to Compile .au3 If I run just the.au3 it works as it should. FileCopy works and will Compile but FileInstall wont Why? Link to comment Share on other sites More sharing options...
whyme Posted February 6, 2004 Author Share Posted February 6, 2004 I get a different Error. Error adding file:.\Test.bat Link to comment Share on other sites More sharing options...
ryanm Posted February 17, 2004 Share Posted February 17, 2004 (edited) What about... $desktop = @DeskTopDir FileInstall($desktop & "\Test.bat",@DesktopDir & "Test1.bat") I haven't tried it, but wouldn't the $desktop be evaluated at compile time while the @DesktopDir in the FileInstall command would be evaluated during the script run? Edited February 17, 2004 by ryanm 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