Hi,

> On Jul 13, 2022, at 2:29 PM, Rugxulo <rugx...@gmail.com> wrote:
> 
> Hi,
> 
>> On Mon, Jul 11, 2022 at 6:09 AM Jerome Shidel <jer...@shidel.net> wrote:
>> 
>> FDCONFIG.SYS
>> ————————
>> !LASTDRIVE=Z
> 
> You probably don't actually need that many drives, I'd suggest "G" or
> "P" instead (to save RAM).
> 
>> FDAUTO.BAT
>> ——————
>> set DOSDRV=C:
> 
> If you're using FreeCOM and already in the root directory from bootup, try 
> this:
> 
> REM ... should be "C:\" ...
> set DOSDRV=%_CWD%
> 

Actually, if you are going to set an env for the drive (like in the small 
example), you probably just want the drive portion (C:) and not a path (c:\).

This allows dropping small batch files somewhere in the path with cluttering 
the PATH setting. For example, you can put a MYGAME.BAT in the DOSDIR. 
Something like…

@echo off
%DOSDRV%
cd GAMES\GAME42
QLUE.COM

However, since the original question is about a single use setup for a text 
editor. Probably, do away with setting a drive variable and just do…

set DOSDIR=%_CWD%FREEDOS
set PATH=%DOSDIR%\BIN

Or, do away with such things, shrink the env size and use full paths in the 
FDAUTO.

Lots of options.

:-)

Jerome 


> 
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user



_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to