PDA

View Full Version : EDIT INI disable variable expansion



glewis64
11-01-2016, 04:07 PM
I'm wanting to edit an ini file and have the resulting file contain:

VAR=%MYVAR%

When I put this in the EDIT INI command, the compiler complains that the variable doesn't exist.

How do I disable the variable expansion so that my resulting ini file contains VAR=%MYVAR%?

linder
11-02-2016, 09:26 AM
Hello,

Please try:

VAR=%%MYVAR%%

Does this help?

Friedrich

glewis64
11-03-2016, 08:40 AM
Yes it does!!! Thank you!

linder
11-04-2016, 08:17 AM
Perfect! You are welcome :)

Friedrich