Jump to content

Recommended Posts

Posted

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?

  • 2 weeks later...
Posted (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 by ryanm

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