Hi, On Mon, Oct 5, 2015 at 2:08 AM, Joe Forster/STA <s...@c64.rulez.org> wrote: > > Also, while executing config.sys (_not_ autoexec.bat yet), the (master) > environment variable block is not pointed to anywhere. I've unable to finish > another DOS program that would record the boot drive into an environment > variable so that PATH can later be set in autoexec.bat to <boot > drive>:\[...][;...] (where <boot drive> can be A: for floppy, C: for hard > disk etc.)
Assuming "LASTDRIVE=G" (for brevity), do this in AUTOEXEC.BAT (only with FreeCOM, natch): for %%z in (a b c d e f g) do if /i "%_CWD%"=="%%z:\" set BOOT=%%z That's what I use. Of course, then you still have to omit all explicit drive letters in FDCONFIG.SYS anyways. Still works. ------------------------------------------------------------------------------ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel