1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Easier INI handling

Discussion in 'Suggestions' started by thorsten, Aug 13, 2017.

  1. thorsten

    Joined:
    Aug 16, 2008
    Messages:
    124
    Likes Received:
    0
    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:

    Example:
    [Environment]
    path = C:\dev;%path
    dircmd = /a /o /p

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

    Thorsten
     

Share This Page