MS-DOS 6.22 Lowercase Path Output Configuration
In MS-DOS 6.22, directory and file paths are handled in uppercase by
default due to the design of the FAT16 file system, but output casing
can be controlled for directory listings using the DIRCMD
environment variable. By configuring DIRCMD with the
/L switch inside the AUTOEXEC.BAT startup
file, users can force the system to display filenames, extensions, and
directory paths in lowercase rather than the standard uppercase.
Configuring Lowercase Output via DIRCMD
MS-DOS 6.22 does not have a global kernel switch to force all console
commands to output lowercase paths across the entire operating system.
Instead, path output formatting is controlled at the shell and utility
level. The primary method to configure default lowercase path listings
is by setting the DIRCMD variable in your
AUTOEXEC.BAT file:
SET DIRCMD=/LWhen this line is executed at startup, the internal DIR
command automatically applies the /L (lowercase) parameter
every time a directory listing is requested. This causes file names,
extensions, and directory paths in listings to be presented in lowercase
text.
If you ever need to temporarily revert back to standard uppercase output during a session, you can run the command with the switch explicitly disabled:
DIR /-LSystem-Wide Limitations and Alternative Utilities
Because FAT12 and FAT16 store 8.3 filenames in uppercase byte
representations, system utilities such as PROMPT $P$G
(which prints the working drive and path) and native file manipulation
commands (COPY, MOVE, TREE) will
strictly display paths in uppercase.
To achieve full system-wide lowercase path display beyond directory listings, MS-DOS 6.22 requires the use of third-party command processors or Terminate-and-Stay-Resident (TSR) utilities:
- 4DOS: A popular replacement shell for
COMMAND.COMthat provides native configuration options for displaying all prompt paths, completions, and commands in lowercase or mixed case. - ANSI.SYS or TSR Filters: Memory-resident programs designed to hook into standard output interrupts (INT 21h or INT 10h) to alter console text casing dynamically before rendering to the screen.