FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.
With a file named 4debug.com on the boot drive and shell=4debug.com in the fdconfig.sys file, the following interaction happens at boot time:
Bad or missing Command Interpreter: debug.com
Enter the full shell command line: 4debug.com
-
As seen, entering the full filename including the leading digit does allow to load the shell. But the kernel first tries to load the shell with the digit stripped. Using a name like ldebug.com without the leading digit works as expected.
If I recall, this was first reported on one of the mailing lists by a user trying to load 4DOS. I can't look that up right now however.
I suspect that the digit is read or discarded like a menu selector digit. I have not studied this in detail however. It doesn't explain why the shell= line does take effect even though it processes the 4 however.
With a file named
4debug.com
on the boot drive andshell=4debug.com
in the fdconfig.sys file, the following interaction happens at boot time:As seen, entering the full filename including the leading digit does allow to load the shell. But the kernel first tries to load the shell with the digit stripped. Using a name like
ldebug.com
without the leading digit works as expected.If I recall, this was first reported on one of the mailing lists by a user trying to load 4DOS. I can't look that up right now however.
I suspect that the digit is read or discarded like a menu selector digit. I have not studied this in detail however. It doesn't explain why the
shell=
line does take effect even though it processes the4
however.