# DIR Switches
> [HTML Version](dirswitches.htm)
In the list of switches below, the bold shading shows the abbreviations that can be used. In most cases, the abbreviation is simply enough characters to uniquely identify the switch.
| **Switch** | **Function** |
|------|------|
| /1 | Eliminate the directory and size information from the output. When combined with the /NATIVE switch, it produces just a list of filenames (file.ext), similar to the Unix ls -1 command. |
| /**AD**ATE | Display last access date. |
| /**AT**IME | Display last access time. |
| /**BY**TES | Display file sizes in bytes rather than blocks. |
| /**[CD](cdate.htm.md)**[ATE](cdate.htm.md) | Display file "c date." |
| /**CO**NTIGUOUS | Display a "C" to identify "contiguous" files. Under A-Shell, this really just means the file is a multiple of 512 bytes. |
| /**CT**IME | Display file "c time". Usually used with /CDATE. See notes under [CDATE](cdate.htm.md) for differences between the "c date" under Windows and Unix. |
| /**D**ATA | Display complete filespecs. |
| /**EN**CRYPTED | For installations using A-Shell's Encrypted File System (EFS), display an 'E' next to files that are encrypted. For non-EFS systems, will display a '?' indicating that the encryption status is unknown. |
| /**ER**SATZ | Append the ersatz directory name (if applicable) to the the Dev:\[p,pn\] header for each directory group of files displayed. |
| /**F**ULL | Same as +/H/CON/V. |
| /**HA**SH | Display hash code. |
| /**HU**MAN | Display file sizes in bytes rather than blocks, and display in kilobytes (K), megabytes (M), or gigabytes (G) as appropriate. |
| /**K**ILL | Delete and replace listfile. |
| /**[LO](long_dir_switch.htm.md)**[NG](long_dir_switch.htm.md) | Change the default display layout to filename of <72 or less>.extension of <8 or fewer> characters. |
| /LT | Sort by descending—newest to oldest—update date, in _size update fspec_ format; similar to Unix ls -lt. |
| /**ME**MREQ | Memory required for program variable storage. |
| /MAX:n | Display only files with n or fewer blocks. |
| /MIN:n | Display only files with n or more blocks. |
| /MAXDAYS:# | Omit from the display any files that have been modified more than # days ago. |
| /MINDAYS:# | Omit from the display any files that have been modified less than # days ago. |
| /MAXSECS:# | Omit from the display any files that have been modified more than # seconds ago. |
| /MINSECS:# | Omit from the display any files that have been modified less than # seconds ago. |
| /**[NA](nativedirswitch.htm.md)**[TIVE](nativedirswitch.htm.md) \{:len\} | Display files in the native format. |
| /**NO**FILES | Omit filenames; just output totals. |
| /**P**AGE | Pause after each page of output. |
| /**SE**XT | Sort by ascending extensions. |
| /SNAME | Sort by ascending filenames. |
| /SNODEV | Remove primary sort on DEVICE; see [SNOxxx](snoxxx.htm.md). |
| /SNOPPN | Remove primary sort on DEVICE; see [SNOxxx](snoxxx.htm.md). |
| /**SR**UDATE | Sort by descending update dates. |
| /**SS**IZE | Sort by ascending file sizes. |
| /**SU**DATE | Sort by ascending update dates. |
| /**U** | Same as /UDATE /UTIME. |
| /**UD**ATE | Display file update (last modified) dates. |
| /**UT**IME | Display file update (last modified) times. |
| /**V**ERSION | Display file version if available. Also see [VERSYS](versys_lit.htm.md). |
| /**WA**RN | Force DIR to display the message "Warning: skipping incompatible filespec" when applicable. This message was displayed by default (i.e., without the /WARN switch) in versions of DIR before 3.0(140). |
| /**WI**DE:n | Display in n columns. Default n=4. |
| /? | Write switch listing and usage info to the screen. |