Maximum PC

List and find files in Command Prompt

YOU’LL NEED THIS

WINDOWS 10 OR 11

45 minutes

WHEN USING COMMAND PROMPT, have you ever needed to list the contents of a folder or drive? If so, then the DIR command has you covered. At first glance, that’s all it can do—and in a less visually accessible way than File Explorer. But dig a little deeper, and you’ll find ways in which DIR can play a more active role: use it to quickly perform file searches, generate file lists you can open and edit in any text editor, and even confirm that your precious files are safe when Windows refuses to load. Here, we’ll explain how to use this powerful tool. Note that whenever we use ‘yourname’, you should replace it with your name as it’s registered in your Users folder (it’s ‘nickd’ in our screenshots).

1 LEARN THE BASICS OF DIR

Open Command Prompt (press Win+R, type cmd and press Enter) to find yourself in your personal user folder—for example,] [] and press Enter. The command will first list the drive’s label if it has one—it’s ‘System’ in our example []. If there isn’t one, you’ll see ‘Volume in drive C has no label’. Below that will be an alphabetical list of the contents of your user folder.

You’re reading a preview, subscribe to read more.

More from Maximum PC

Maximum PC1 min read
Subscription Offers
SHOP THE FULL RANGE WWW.MAGAZINESDIRECT.COM/SUBSCRIBE Offer open to new subscribers only. Please allow up to six weeks for delivery of your first subscription issue. Payment is non-refundable after the 14 day cancellation period unless exceptional ci
Maximum PC1 min read
Amd Upgrades Fsr
AMD’S UPSCALING TECH, FidelityFX Super Resolution, has reached version 3.1, and is now in the hands of the developers. First to use it is Ratchet and Clank: Rift Apart, with an update in July. The big change is the decoupling of FSR from FMF (Fluid M
Maximum PC1 min read
Superstar Bar
The Xbox Game Bar can be a useful overlay for gamers, allowing you to view performance metrics and tweak settings like Auto HDR support. If you’re as trigger happy as we are at Maximum PC, however, there’s always a danger that you’ll accidentally act

Related Books & Audiobooks