So how were these found? Today I guess I'd try running strings on the executable or maybe straight-up opening them in a debugger or disassembler (I assume command-line argument parsing is a very obvious, easy-ish to read block of code right at the start of the program), but I'm not sure how much of that was available (or at widely accessible, at least) back when DOS was a big deal (this list talks about DOS 2.x, whic…
Shhh: The Undocumented DOS Commands (1999)
11–20 of 57 posts
Re: Shhh: The Undocumented DOS Commands (1999)
#12So how were these found? Today I guess I'd try running strings on the executable or maybe straight-up opening them in a debugger or disassembler (I assume command-line argument parsing is a very obvious, easy-ish to read block of code right at the start of the program), but I'm not sure how much of that was available (or at widely accessible, at least) back when DOS was a big deal (this list talks about DOS 2.x, whic…
It's also worth remembering that DOS came with DEBUG, so if you had the time and patience you could dig about in anything
Re: Shhh: The Undocumented DOS Commands (1999)
#13Re: Shhh: The Undocumented DOS Commands (1999)
#14Back in the day there were several computer books in the r/The Undocumented .*/ pattern. That was super cool and I loved them, as if you were being revealed secrets that no one else knows. In retrospect they were mostly about unstable apis best avoided.
With stable programs like DOS the hidden apis will be around awhile
Re: Shhh: The Undocumented DOS Commands (1999)
#15A:\> DIR.EXE
instead of having to type
A:\> DIR *.EXE
IIRC, it worked for any extension, not just .EXE.
Re: Shhh: The Undocumented DOS Commands (1999)
#16Re: Shhh: The Undocumented DOS Commands (1999)
#17So how were these found? Today I guess I'd try running strings on the executable or maybe straight-up opening them in a debugger or disassembler (I assume command-line argument parsing is a very obvious, easy-ish to read block of code right at the start of the program), but I'm not sure how much of that was available (or at widely accessible, at least) back when DOS was a big deal (this list talks about DOS 2.x, whic…
Re: Shhh: The Undocumented DOS Commands (1999)
#18>Last updated on Friday, January 1, 1999. This is a walk down memory lane, but not in a good way. I'm very, very glad to no longer have to remember anything about config.sys.
Re: Shhh: The Undocumented DOS Commands (1999)
#19When you created an in-memory drive (what the heck was the name for them in DOS?), for example to store temporary files on, the label FDISKFAKE was automatically given. If you tried to format the drive, format complained that an in-memory drive can't be format. If you changed the label, format happily formated the drive.
Re: Shhh: The Undocumented DOS Commands (1999)
#20Dos4 still had commands to control a tape deck