Copyright Goodheart-Willcox Co., Inc. 44 Computer Service and Repair Command-Line Interface Th e command-line interface (CLI) allows commands for the computer to be issued by typing text at the command prompt. Figure 2-4 shows a command-line interface. Some common commands are dir, cd, and copy. Th ese commands call up a di- rectory, change directories, and copy a fi le or disk, respectively. See Figure 2-5 for a 1002: 1.4, 1.5 Goodheart-Willcox Publisher Figure 2-4 The command-line interface allows commands for the computer to be issued by entering text at the command prompt. Command Description .. Used as part of a command to reference the parent directory cd Changes from the current location in a directory to another directory chkdsk Checks a disk for errors and displays results copy Copies data from one location to another date Displays the date del Deletes a file dir Displays a list of files, directories, and subdirectories DISM Deployment Image Servicing and Management prepares a Windows image for deployment edit Starts a text-editor program similar to a word processor exit Exits the command prompt window and returns to the Windows desktop format Prepares a disk for first-time use gpresult Displays Resultant Set of Policy (RSoP) information for a remote user gpupdate Modified Windows group policy settings md Creates a directory print Prints a text file to a printer rd Deletes a directory rename Changes the name of a file robocopy Robust file copy for mirroring directories SFC System File Checker used with DISM to repair or replace missing or corrupted system files shutdown Change running OS state to shut down, reboot, hibernate, etc. taskkill Terminates one or more tasks or processes time Displays the time ver Displays the software version running on the computer Goodheart-Willcox Publisher Figure 2-5 There are many commands that can be issued at the command prompt, but some are more commonly used than others. TECH TIP If you ever need help working with commands, adding the /? switch after the command name will yield information such as available switches and what purpose they serve.