thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

IT Support & Hardware · Foundational

dir Command

A Windows command that lists files and folders in a directory.

Definition

dir supports switches such as /a (include hidden/system files), /s (recursive), and /p (pause per page). The Linux equivalent is ls.

Example

dir C:\Users\jdoe /a shows hidden files like NTUSER.DAT.

Exam tip

Use dir /a to see hidden files.

Related terms