Jump to content
Sign in to follow this  

FileInstall Question

Recommended Posts


Hello :P

I understand that you cannot use "macros" in FileInstall but I have heard that you are actually able to use "macros" in FileInstall as long as they are only used for the destination. I am wondering is this true.


FileInstall(@ScriptDir & "\Test.jpg" , @HomeDrive "\Test.jpg")

The above code shouldn't work but if what I heard is true then this should be able to work.

FileInstall("Test.jpg" , @HomeDrive "\Test.jpg")

Please explain if this is true or if no "macro" what so ever can be used at all.

Thanks and Merry Christmas :shifty:


I am also wondering could the destination be a variable :x

Edited by SkellySoul

Share this post

Link to post
Share on other sites

Macro can be use in second part of FileInstall function

FileInstall("Test.jpg" , @HomeDrive &  "\Test.jpg")

Don't forget the & character

Edited by wakillon

AutoIt X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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.