Navigation Commands


  • commands operate in the current working directory unless otherwise specified
  • Windows uses backslash \ to delimit directories, but forward slash will work too /

Listing Files and Directories

  • dir command to list files and subdirectories
    • /o:"x" order files
      • /o:n list by name
      • /o:s list by size
      • /o:e list by extension
      • /o:d list by date
        • /t:c,a,w for created on, last access, last modified
    • /a:"x" to present files with attribute indicated by x
      • r for read-only, h for hidden, s for system, a for archive
  • Wildcard characters are used for unspecified characters
    • ? is a single unspecified character

Changing Current Directory

  • cd command to change
    • cd \ goes to root directory

Changing the Current Drive

  • D: + ENTER changes the current drive
    • just enter drive letter and colon