Menu

FileName in settings file

Oleg
2013-10-28
2013-10-28
  • Oleg

    Oleg - 2013-10-28

    It seems that FileName attribute in the config file now has to be wrapped in quotes otherwise the parser fails.
    Is that intentional? If so, it still doesn't appear to be consistent:
    FileName=log.txt
    works but
    FileName=./log.txt
    gets upset about the slash.

     
  • Andrey Semashev

    Andrey Semashev - 2013-10-28

    There is a general rule regarding all parameters - you can omit quotes if the parameter is a single word (e.g. true, false, 10, -8.6, etc.). Otherwise you have to envelop it in quotes. Filesystem paths almost always need to be wrapped in quotes.

     
  • Oleg

    Oleg - 2013-10-28

    Ok, That wasn't the case until recently though.

     

Log in to post a comment.