15.01.2024 Views

CompTIA A+ Certification All-in-One Exam Guide

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NOTE Some commands give you the same result whether you include

spaces or not. Typing dir/p and dir /p, for example, provide the same output.

Some commands, however, require spaces between the command and

switches. In general, get into the habit of putting spaces between your

command and switches and you won’t run into problems.

dir Command

When you type a simple dir command, you will see that some of the entries

look like this:

All of these entries are files. The dir command lists the creation date, creation

time, file size in bytes, filename, and extension.

Any entries that look like this are folders:

The dir command lists the creation date, creation time, <DIR> to tell you it is

a folder, and the folder name.

Now type the dir /w command. Note that the dir /w command shows only

the filenames, but they are arranged in four or five columns across your

screen. Finally, type dir /? to see the screen shown in Figure 15-8, which lists

all possible switches for the command.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!