IniReadto fill in most of the common variables. There are many variables containing system parameters such as
A_UserNamein a filename.
DefaultTemplate="C:\Users" . A_UserName . "\AppData\Roaming\blah\Blee.blu"
When I read that variable into
Templateand attempt to
Run, %Template%, I get the error "Failed attempt to launch program or document: (and my variable is pointed to). But declaring that variable using the same variable verbatim in the .ahk script, it runs just fine.
Is it possible to do this? To read from the ini file a full path with the system variable 'A_Username' embedded, and then run that full-path file? I've looked into Format(), but couldn't get that to work.