Abstract Avatars for All Creative Profile UseMatt Houserhttps://www.figma.com/community/file/1249154526125777853https://creativecommons.org/licenses/by/4.0/Remix of “Abstract Avatars for All Creative Profile Use” (https://www.figma.com/community/file/1249154526125777853) by “Matt Houser”, licensed under “CC BY 4.0” (https://creativecommons.org/licenses/by/4.0/)JonatasDecember 15, 2009 at 11:37 AM#File command and variablesI want to define a path for one of my directories in a variable, because I'm going to use it in many places. But I'm not being able to make it work with the File command. Here: This works: File /r "..\mydir\*.*"This doesn't: StrCpy $MyPath "mydir" File /r "..\$MyPath\*.*"What am I missing ?
Abstract Avatars for All Creative Profile UseMatt Houserhttps://www.figma.com/community/file/1249154526125777853https://creativecommons.org/licenses/by/4.0/Remix of “Abstract Avatars for All Creative Profile Use” (https://www.figma.com/community/file/1249154526125777853) by “Matt Houser”, licensed under “CC BY 4.0” (https://creativecommons.org/licenses/by/4.0/)AndersDecember 15, 2009 at 1:34 PM#Variables can only be used at run-time, files are added at compile-time, so you need to use a define !define MyPath "mydir" File /r "..\${MyPath}\*.*"
Abstract Avatars for All Creative Profile UseMatt Houserhttps://www.figma.com/community/file/1249154526125777853https://creativecommons.org/licenses/by/4.0/Remix of “Abstract Avatars for All Creative Profile Use” (https://www.figma.com/community/file/1249154526125777853) by “Matt Houser”, licensed under “CC BY 4.0” (https://creativecommons.org/licenses/by/4.0/)JonatasDecember 16, 2009 at 11:54 AM#Thank you Anders, it worked. =)