15.01.2024 Views

CompTIA A+ Certification All-in-One Exam Guide

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

the mkdir, cd, and rm commands.

Running a Program in Windows

To run a program from the Windows command line, simply change the

prompt focus to the folder where the program is located, type the name of the

program, and then press enter. Try this safe example. Go to the

C:\Windows\System32 folder—the exact name of this folder is pretty

standard on all Windows systems, but your mileage may vary. Type dir /p to

see the files one page at a time. You should see a file called mmc.exe (see

Figure 15-9).

Figure 15-9 The mmc.exe program listed in the System32 folder

All files with extensions .exe and .com are programs, so mmc.exe is a

program. Remember MMC from the previous chapter? To run the mmc.exe

program, just type the filename, in this case mmc, and press enter (see Figure

15-10). Note that you do not have to type the .exe extension, although you

can. Congratulations! You have just run another application from the

command line.

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

Saved successfully!

Ooh no, something went wrong!