Menu

#4 Use the current directory as first option to search for preferences.ini

closed
Zangune
None
enhancement
Irrelevant
low
2015-10-18
2014-10-26
Zangune
No

If I put ARZ.BAT in

C:\eMule\config


arz should start searching preferences.ini there.

Discussion

  • Zangune

    Zangune - 2014-11-08

    It will be less important if I switch to a preferences.ini-free implementation.
    Read here.
    Anyway I will keep the current method for a bit.

     

    Related

    Forum: b5dcac8d

  • Zangune

    Zangune - 2015-03-08

    Splitted to [#13].

     

    Related

    Issues: #13

  • Zangune

    Zangune - 2015-03-17

    Something like

    VERIFY>NUL
    DIR/B "%~dp0"|FIND "preferences.ini">NUL
    IF NOT ERRORLEVEL 1 (
     SET PreferencesIni="%~dp0preferences.ini"
    )
    


    works, maybe this can be coded in a better way.
    Error level equal 0 cannot be used instead, because IF ERRORLEVEL n statements should be read as "if error level >= number"

     

    Last edit: Zangune 2015-03-17
  • Zangune

    Zangune - 2015-03-17
    • status: open --> closed
     
  • Zangune

    Zangune - 2015-06-06
    • assigned_to: Zangune
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB