List and find files in Command Prompt
Maximum PC|March 2024
YOU'LL NEED THIS WINDOWS 10 OR 11 45 minutes
NICK PEERS
List and find files in Command Prompt

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). -NICK PEERS

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, C:\Users\yourname. Type dir [ 1 ] [Image A] and press Enter. The command will first list the drive’s label if it has one—it’s ‘System’ in our example [2 ]. 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.

» Information about each entry is split into five columns [3 ]: the first two show the date and time the file or folder was last modified—the same information that’s shown in File Explorer. » Next to this is a column that’s either marked <DIR> for a folder, or left blank for a file, followed by a column that lists file size in bytes. The final column displays the folder or file name. These figures are always displayed in bytes.

Denne historien er fra March 2024-utgaven av Maximum PC.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

Denne historien er fra March 2024-utgaven av Maximum PC.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

FLERE HISTORIER FRA MAXIMUM PCSe alt
NZXT C1500 Platinum
Maximum PC

NZXT C1500 Platinum

Top-tier performance and efficiency

time-read
3 mins  |
October 2024
Nvidia DLSS vs AMD FSR
Maximum PC

Nvidia DLSS vs AMD FSR

Which AI upscaling technique has the edge?

time-read
5 mins  |
October 2024
World of Goo 2
Maximum PC

World of Goo 2

Goo-d enough for two

time-read
3 mins  |
October 2024
BenQ X300G 4K Short Throw Projector
Maximum PC

BenQ X300G 4K Short Throw Projector

Priced high, yet punchy

time-read
3 mins  |
October 2024
Hyte Thicc Q60
Maximum PC

Hyte Thicc Q60

Almost more mobile phone than CPU cooler

time-read
3 mins  |
October 2024
Remove stalkerware from your PC
Maximum PC

Remove stalkerware from your PC

ACCORDING TO KASPERSKY’S LATEST ‘State of Stalkerware’ report, over 40 percent of those surveyed worldwide said they’d experienced stalking or suspected that they were being stalked.

time-read
5 mins  |
October 2024
BUILD AN IT SUPPORT HUB
Maximum PC

BUILD AN IT SUPPORT HUB

Discover how to use RustDesk to provide remote assistance and control your own devices remotely with Nick Peers

time-read
10+ mins  |
October 2024
AMD's turn to drop the ball?
Maximum PC

AMD's turn to drop the ball?

WITH INTEL'S RAPTOR LAKE CPUs falling over, the company firing around 15,000 employees, and cancelling its 2024 innovation event, AMD must have been enjoying the view - until its new Ryzen 9000 desktop CPUs rolled out. So, is AMD's CPU a minor stumble or game-changing fumble?

time-read
3 mins  |
October 2024
Intel issues fix for Raptor Lake degradation
Maximum PC

Intel issues fix for Raptor Lake degradation

EARLIER THIS YEAR, I wrote about difficulties I was having with a Core 19-13900K processor (see MPC230 Tech Talk). Little did we realize that we were only seeing the tip of the iceberg. While most complaints have involved the unlocked Core i9 Raptor Lake CPUs, it appears the instability problems build up and potentially impact many Raptor Lake-13th and 14th Gen Core CPUs, with Intel identifying 22 different desktop parts.

time-read
2 mins  |
October 2024
AMD Ryzen 7 9700X
Maximum PC

AMD Ryzen 7 9700X

The new Zen 5 CPUs are here—time to benchmark!

time-read
3 mins  |
October 2024