Jump to content
Sign in to follow this  

Fileinstall Error

Recommended Posts


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?

Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.