14 working with the command line interface

8

Click here to load reader

description

Comtia A+ note

Transcript of 14 working with the command line interface

Page 1: 14 working with the command line interface

Working with the Working with the Command-Line Command-Line InterfaceInterface

Page 2: 14 working with the command line interface

Deciphering the Command-Line Interface It’s a little like having an Instant

Message conversation with your computer

The computer tells you it’s ready to receive commands by displaying a specific set of characters called a prompt

Page 3: 14 working with the command line interface

Deciphering the Command-Line Interface Mike: _

You type a command and press ENTER to send itMike: What kind of game?

Computer: _The PC goes off and executes the command, and when it’s done it displays a new prompt, often along with some information about what it didComputer: A very fun game…

Mike: _Once you get a new prompt, it means the computer is ready for your next instruction

Page 4: 14 working with the command line interface

Accessing the Command Line The Command Prompt : C:\> Filenames and File Formats Drives and Folders

Page 5: 14 working with the command line interface

Mastering Fundamental Commands Structure: Syntax and

Switches DIR Command Directories:

– The CD Command The CD (or CHDIR) command enables you to change the focus of the command prompt to a different directory

Page 6: 14 working with the command line interface

Mastering Fundamental Commands Moving Between Drives Making Directories Removing Directories Running a Program

Page 7: 14 working with the command line interface

Working with Files

Attributes Wildcards Renaming Files Deleting Files Copying and Moving Files

– COPY, XCOPY

Page 8: 14 working with the command line interface

Working with Batch Files Edit

– REM - Remarks– Pause - Pause the batch file– Date - System current date– Time – System current time – Prompt $P$G – Gives you the C:\

>