• rswindell's avatar
    Added 2 new environment variables dynamically-defined when launching DOS · a3cdd3b8
    rswindell authored
    programs: PCBDRIVE (the drive letter of the current node directory) and PCBDIR
    (the path to the current node directory, without the drive letter).
    
    These emulate the same variables crated by PCBoard.
    
    The reason these are being added is that Sunrise Door Software's 16-bit doors
    contain special support for these environment vars when used in their .CFG files
    (e.g. %PCBDIR%DOOR.SYS) and this allows easy multi-node configuration with a
    single .CFG file. The SBBSNODE environment varialbe would have worked perfectly
    fine for this purpose, but apparently Sunrise Doors (or the DoorFrame
    development kit they utilized) has hard-coded these PCBoard (and Wildcat!)
    environment variable names, so SBBSNODE wont' work for this purpose.
    
    For Synchronet-Win32, you will need the DOSXTRN.EXE revision 25 or later
    or you may experience NTVDM crashes when running external DOS programs.
    a3cdd3b8
xtrn.cpp 62 KB