Page 1 of 1

Use of Variables in script

Posted: Wed Jul 15, 2020 2:06 am
by pvaneykelen
We use the same script on large number of systems with minor changes, such as a printer name.
We need a way to include an .ini file with the script which allows you to read one of more values as a variable %Var1.
Then use the %var in a script where variable is replaced with value from ini file.

So we can create one design and only have to change the ini.
This can be in the form of

"literal text enclosed by quotes" %var1 "rest of text in quotes"