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.

この記事は Maximum PC の March 2024 版に掲載されています。

7 日間の Magzter GOLD 無料トライアルを開始して、何千もの厳選されたプレミアム ストーリー、8,500 以上の雑誌や新聞にアクセスしてください。

この記事は Maximum PC の March 2024 版に掲載されています。

7 日間の Magzter GOLD 無料トライアルを開始して、何千もの厳選されたプレミアム ストーリー、8,500 以上の雑誌や新聞にアクセスしてください。

MAXIMUM PCのその他の記事すべて表示
What exactly is an 'AI' PC?
Maximum PC

What exactly is an 'AI' PC?

AI, EVERYWHERE, all at once. That, in a nutshell, is what's happening to the computing industry. The PC, inevitably, is not immune. Later this summer, you'll be able to buy a machine that officially qualifies as an 'Al' PC, according to no lesser an authority than Microsoft. But you might be surprised at who's making it.

time-read
2 分  |
June 2024
Intel Raptor Lake Core 19 Instability Problems
Maximum PC

Intel Raptor Lake Core 19 Instability Problems

THE RACE BETWEEN AMD AND INTEL has heated up in the past few years as Ryzen processors have become increasingly competitive. The amount of headroom for overclocking has shrunk in response, and it seems motherboard vendors may have tweaked settings a bit too aggressively.

time-read
2 分  |
June 2024
LG ANNOUNCES GAMING OLED
Maximum PC

LG ANNOUNCES GAMING OLED

The panel can alter refresh rates and resolutions

time-read
1 min  |
June 2024
Intel announces 6th Gen Xeon brand
Maximum PC

Intel announces 6th Gen Xeon brand

'Xeon Scalable' becomes the Xeon 6 series

time-read
2 分  |
June 2024
CREATE A SECURE WIREGUARD VPN SERVER
Maximum PC

CREATE A SECURE WIREGUARD VPN SERVER

Discover how to securely access your home network when out and about, with Nick Peers

time-read
8 分  |
June 2024
HP Omen 45L
Maximum PC

HP Omen 45L

HP's biggest desktop PC offers mighty gaming potential

time-read
2 分  |
June 2024
Sapphire RX 7900 GRE Pulse
Maximum PC

Sapphire RX 7900 GRE Pulse

The Golden Rabbit Edition goes global

time-read
3 分  |
June 2024
Use Photoshop's new AI features
Maximum PC

Use Photoshop's new AI features

YOU'LL NEED THIS PHOTOSHOP CC 25.5 OR LATER

time-read
9 分  |
June 2024
HOW DO YOU KNOW IF YOU'VE BEEN HACKED?
Maximum PC

HOW DO YOU KNOW IF YOU'VE BEEN HACKED?

Don't let attackers sneak under your radar: Nik Rawlinson reveals the telltale signs to look out for

time-read
7 分  |
June 2024
THE BATTLE OF THE BUILDS DEDICATED VS INTEGRATED GPUs
Maximum PC

THE BATTLE OF THE BUILDS DEDICATED VS INTEGRATED GPUs

We put AMD's latest Ryzen 5 8600G to the test

time-read
4 分  |
June 2024