• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

msdos dir command

robothouse77

Golden Member
ok, so there's a command line option to output the listings in lowercase. is there any way to get the listing to output strictly in uppercase?

thanks in advance
 
Not really. You can dir 'DIR /X' to get the MS-DOS filenames, so if they're under 8.3 in length that'll work.

 
C:\Documents and Settings\Scott>dir /?
Displays a list of files and subdirectories in a directory.
DIR [drive:][path][filename] [/A[[:]attributes]] [/b] [/C] [/D] [/L] [/N]
[/O[[:]sortorder]] [/P] [//Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]
[drive:][path][filename]
Specifies drive, directory, and/or files to list.
/A Displays files with specified attributes.
attributes D Directories R Read-only files
H Hidden files A Files ready for archiving
S System files - Prefix meaning not
/B Uses bare format (no heading information or summary).
/C Display the thousand separator in file sizes. This is the
default. Use /-C to disable display of separator.
/D Same as wide but files are list sorted by column.
/L Uses lowercase.
/N New long list format where filenames are on the far right.
/O List by files in sorted order.
sortorder N By name (alphabetic) S By size (smallest first)
E By extension (alphabetic) D By date/time (oldest first)
G Group directories first - Prefix to reverse order
/P Pauses after each screenful of information.
/Q Display the owner of the file.
/S Displays files in specified directory and all subdirectories.
/T Controls which time field displayed or used for sorting
timefield C Creation
A Last Access
W Last Written
/W Uses wide list format.
/X This displays the short names generated for non-8dot3 file
names. The format is that of /N with the short name inserted
before the long name. If no short name is present, blanks are
displayed in its place.
/4 Displays four-digit years
Switches may be preset in the DIRCMD environment variable. Override
preset switches by prefixing any switch with - (hyphen)--for example, /-W.
C:\Documents and Settings\Scott>



 
Originally posted by: Jzero
Originally posted by: Phoenix86
dir /l for those who can't find it in the built-in help.

He wants UPPERCASE for those who can't understand the thread.

Whoops. 🙁

Yeah, well this is OT, and at least I tried and didn't tell him to format.
 
Print the dir output to a file:

dir >mydir.txt

Open the file in Word and use the Format>Change Case>Uppercase function to change the case.
 
Originally posted by: ironwing
Print the dir output to a file:

dir >mydir.txt

Open the file in Word and use the Format>Change Case>Uppercase function to change the case.

ftw
 
Back
Top