Display Files Without Pauses in MS-DOS 6.22
In MS-DOS 6.22, listing directory contents continuously without screen-by-screen pauses requires specific switches with the standard directory command. While the default behavior of the command is to stream the full list, custom environment configurations or specific attribute filters can alter this behavior. This guide details the exact syntax needed to display every file—including hidden and system files—in a single, uninterrupted stream.
The Complete Command Syntax
To display all files without pagination pauses, enter the following command at the prompt:
DIR /A /-P
Syntax Breakdown
DIR: The base command used to display a list of files and subdirectories./A: Displays all files regardless of file attributes. By default, MS-DOS hides files flagged with the Hidden (H) or System (S) attributes. Using/Aensures these files are included in the output./-P: Explicitly disables the pagination pause. While MS-DOS does not pause by default, many systems configured theDIRCMDenvironment variable inAUTOEXEC.BATwith the/Pswitch (which pauses after every 24 lines). Appending/-Poverrides any preset environment settings and forces the output to scroll continuously to the end.
Additional Variations
- List Across All Subdirectories: To list all files
across the current directory and all of its subfolders without pausing,
add the recursive switch:
DIR /S /A /-P - Bare Format (File Names Only): To list all files
continuously showing only file names and extensions (without file sizes,
dates, or headers):
DIR /B /A /-P