Dos switches
|
Response Number 2
|
Name: Gyro Gearloose
Date: March 6, 2002 at 05:33:09 Pacific
|
Reply: (edit)Displays a list of files and subdirectories in a directory. DIR [drive:][path][filename] [/P] [/W] [/A[[:]attributes]] [/O[[:]sortorder]] [/S] [/B] [/L] [/V] [/4] [drive:][path][filename] Specifies drive, directory, and/or files to list. (Could be enhanced file specification or multiple filespecs.) /P Pauses after each screenful of information. /W Uses wide list format. /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 /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 (earliest first) G Group directories first - Prefix to reverse order A By Last Access Date (earliest first) /S Displays files in specified directory and all subdirectories. /B Uses bare format (no heading information or summary). /L Uses lowercase. /V Verbose mode. /4 Displays year with 4 digits (ignored if /V also given). Switches may be preset in the DIRCMD environment variable. Override preset switches by prefixing any switch with - (hyphen)--for example, /-W.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: ...
Date: March 6, 2002 at 07:45:20 Pacific
|
Reply: (edit)Simple answer - Type it and see. It will do no damage What it will do is carry out a Directory Listing (DIR) of the Root Directory of C:/ (C:/) in a Wide Format (/W) Listing only files with the D attribute (Directories) /A:D) (Note - Under MS-DOS Windows 'Folders' are called 'Directories' - Hence DIR) Will that help with your homework?
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: Pete
Date: March 7, 2002 at 12:00:26 Pacific
|
Reply: (edit)After running in DOS to produce some COBOL list files, I have found that my Win 98SE box has somehow switched modes , into "Drive C: is using MS-DOS compatibility- mode file system". Is there a 'mode switch' to revert back to the usual 32 file system ??
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
Name: Gatekeeper
Date: March 24, 2002 at 10:52:18 Pacific
|
Reply: (edit)thankx Beamer i knew all this but forgot the tricks :) this /? works on any dos command.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: