Easier INI handling

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Aug 16, 2008
Right now you can get only one specified value back with @iniread which forces you to specify all keys for a section you want to retrieve. For my scripts I normally want all values for a section and use the keys as variable names. I suggest such a command which sets theses variables:

path = C:\dev;%path
dircmd = /a /o /p

Now @inikeys would set PATH to "C:\dev;%path" and dircmd to "/a /o /p".