Hi again, does anyone know if it's possible to use LIST INI and SET INI from within a script? I have tried numerous ways of using the commands in a script, even just that command on it's own but all I get is Syntax Error.
If I copy paste the command from my script to the command window it works perfectly so the question is, is it me being dense again or are those commands not usable in a script?
LIST INI – SET INI
-
- Posts: 1682
- Joined: Fri Aug 12, 2011 12:51 am
Re: LIST INI – SET INI
For those types of commands you'll need to use the ext() function (page 8 in tbscript manual). There's an example of reading from an INI file there too.
Re: LIST INI – SET INI
Thank you It's becomes a lot easier when it's pointed out . Thanks again.
Re: LIST INI – SET INI
Is it possible to use SET INI and LIST INI in a script but use string variables instead of text?
For example.
SET INI variable1 variable2 variable3 variable4
Instead of
SET INI C:\EFI\BootIt\BOOTIT.INI Options Background \EFI\BootIt\picture1
For example.
SET INI variable1 variable2 variable3 variable4
Instead of
SET INI C:\EFI\BootIt\BOOTIT.INI Options Background \EFI\BootIt\picture1
Re: LIST INI – SET INI
Okay I've figured it out from reading the forum. The variable has to be inside "#Variable#"
Thanks anyway
Thanks anyway
-
- Posts: 3738
- Joined: Thu May 05, 2011 10:37 pm
Re: LIST INI – SET INI
"string " # variable # "more string"