Menu

#256 DOSDIR in FDCONFIG.SYS

freedos13
wont-fix
Jim Hall
5
2021-06-19
2019-12-24
InfoLibre
No

At the first line of FDCONFIG.SYS, the installer writes :
SET DOSDIR=C:\FDOS
But after this line, the DOSDIR variable is no more used in FDCONFIG.SYS. There are line with DEVICE=C:\FDOS\BIN...
The installer should write %DOSDIR%\ instead of C:\FDOS\, like in FDAUTO.BAT.

Discussion

  • InfoLibre

    InfoLibre - 2020-01-27

    In fact, the problem is that variables are not usables in FDCONFIG.SYS.
    With :
    SET DOSDIR=C:\FDOS
    ECHO %DOSDIR%
    The result is :
    %DOSDIR%
    instead of :
    C:\FDOS
    Is it a bug or is it because the use of variables in FDCONFIG.SYS is not implemented ?

     
  • Jim Hall

    Jim Hall - 2021-06-19

    This is not a bug, if I'm reading this correctly. For example, I can set up an FDCONFIG.SYS that has SET DOSDIR=C:\FDOS and not have any FDAUTO.BAT or AUTOEXEC.BAT, so that COMMAND.COM doesn't set any environment when it starts up. And I can still do this:

    C:\>SET
    CONFIG=4
    DOSDIR=C:\FDOS
    COMSPEC=C:\FDOS\BIN\COMMAND.COM
    

    And:

    C:\>ECHO %DOSDIR%
    C:\FDOS
    

    And as InfoLibre pointed out, variables are not used in FDCONFIG.SYS itself.

     
  • Jim Hall

    Jim Hall - 2021-06-19
    • status: open --> wont-fix
    • assigned_to: Jim Hall
     
  • Jim Hall

    Jim Hall - 2021-06-19

    Marked as closed/wont-fix because this is standard behavior, not a bug

     

Log in to post a comment.

MongoDB Logo MongoDB