SkellySoul 3 Posted December 22, 2010 (edited) Hello 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. Example: 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 [Edited] I am also wondering could the destination be a variable Edited December 22, 2010 by SkellySoul Share this post Link to post Share on other sites
wakillon 403 Posted December 22, 2010 (edited) Macro can be use in second part of FileInstall function FileInstall("Test.jpg" , @HomeDrive & "\Test.jpg") Don't forget the & character Edited December 22, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites