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 以上の雑誌や新聞にアクセスしてください。
すでに購読者です? サインイン
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.
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.
LG ANNOUNCES GAMING OLED
The panel can alter refresh rates and resolutions
Intel announces 6th Gen Xeon brand
'Xeon Scalable' becomes the Xeon 6 series
CREATE A SECURE WIREGUARD VPN SERVER
Discover how to securely access your home network when out and about, with Nick Peers
HP Omen 45L
HP's biggest desktop PC offers mighty gaming potential
Sapphire RX 7900 GRE Pulse
The Golden Rabbit Edition goes global
Use Photoshop's new AI features
YOU'LL NEED THIS PHOTOSHOP CC 25.5 OR LATER
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
THE BATTLE OF THE BUILDS DEDICATED VS INTEGRATED GPUs
We put AMD's latest Ryzen 5 8600G to the test