• Environment variables

    From Martin Foster@2:240/2188.31 to All on Friday, March 16, 2018 10:55:00
    Greetings All!

    I can't find any mention anywhere about binkD environment variables,
    so my question is this .....

    Does binkD support an environment variable which points to the binkD
    config file?

    Regards,
    Martin

    --- OpenXP 5.0.34
    * Origin: KBox-Point-31 - Bradford - UK (2:240/2188.31)
  • From Torsten Bamberg@2:240/5832 to Martin Foster on Friday, March 16, 2018 22:40:57
    Hallo Martin!

    16.03.2018 10:55, Martin Foster schrieb an All:

    I can't find any mention anywhere about binkD environment variables,
    so my question is this .....

    Does binkD support an environment variable which points to the binkD config file?
    Well, binkd by default not, but your shell should.

    Following example works for os/2 cmd.exe:


    =##= Anfang "test.cmd" =##=

    setlocal

    set binkdcfg=e:\dbahn\tool\binkd\test.cfg
    binkd2e.exe -Cc %binkdcfg%

    endlocal

    =##= Ende "test.cmd" =##=

    Regards,
    Martin
    Bye/2 Torsten

    ... MAILBOX: 21:29h - up 0d 2h 30m load: 29 proc, 113 threads (tbupv1.1)
    --- GoldED+ 1.1.5
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Martin Foster@2:250/1.1 to Torsten Bamberg on Saturday, March 17, 2018 13:09:00
    Hello Torsten!

    On 16.03.18 at 22:40, Torsten Bamberg wrote to Martin Foster:

    16.03.2018 10:55, Martin Foster schrieb an All:

    I can't find any mention anywhere about binkD environment variables,
    so my question is this .....

    Does binkD support an environment variable which points to the binkD
    config file?
    Well, binkd by default not, but your shell should.

    Following example works for os/2 cmd.exe:


    =##= Anfang "test.cmd" =##=

    setlocal

    set binkdcfg=e:\dbahn\tool\binkd\test.cfg
    binkd2e.exe -Cc %binkdcfg%

    endlocal

    =##= Ende "test.cmd" =##=

    Yes, of course, and why didn't I think of that :)

    Thanks for pointing me in the right direction.

    Regards,
    Martin

    --- OpenXP 5.0.34
    * Origin: Bitz-Box - Bradford - UK (2:250/1.1)