Hi,

On Wed, Jul 13, 2022 at 10:20 PM Jerome Shidel <jer...@shidel.net> wrote:
>
> > On Jul 13, 2022, at 2:29 PM, Rugxulo <rugx...@gmail.com> wrote:
> >
> >> 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

Don't forget that FreeCOM also supports "cdd" (IIRC, this will also
work for fully-qualified filenames!):

* https://help.fdos.org/en/hhstndrd/cdd.htm


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

Reply via email to