1.3 Given a scenario, apply appropriate Microsoft command line tools

Slides:



Advertisements
Similar presentations
Intro to WinHex CSC 414.
Advertisements

DOS commands.
Understanding the Boot Process and Command Line
®® Microsoft Windows 7 for Power Users Tutorial 6 Optimizing Your Hard Disk.
A+ Guide to Software, 4e Chapter 6 Windows 9x/Me Commands and Startup Disk.
Chapter 3 Understanding the Boot Process and Command Line.
A+ Guide to Managing & Maintaining Your PC, 8th Edition
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
Chapter 3 Maintaining Windows
Operating System Fundamentals
© 2010 The McGraw-Hill Companies, Inc. All rights reserved Mike Meyers’ CompTIA A+ ® Guide to Managing and Troubleshooting PCs Third Edition Working with.
W INDOWS C OMMANDS. References: Windows Command Line Interface, Prof. Yitzchak Rosenthal 2.
© 2013 The McGraw-Hill Companies, Inc. All rights reserved Mike Meyers’ CompTIA A+ ® Guide to 802: Managing and Troubleshooting PCs Fourth Edition (Exam.
COMPUTER FUNDAMENTALS David Samuel Bhatti
Or CMD/BATCH.  Title this comand makes the cmd prompt’s title whatever you would like it to be.
Department of Computer Science.  Operating System is a set of software that controls and manages hardware and basic system operation of a computer. 
George Vordenbaum Systems Content Developer Global Support Automation Microsoft Corporation Exploring Windows XP Boot Options and Recovery Console George.
Chapter 7 Working with Files.
PC Maintenance: Preparing for A+ Certification Chapter 29: Managing Files.
I Can… Define basic file management and related terms Identify levels of a file system Identify and explain ways to view files in Windows OS Explain the.
INTRODUCTION TO OPERATING SYSTEMS. An operating system is a program that controls the overall activity of a computer. Like an orchestra conductor an operating.
DOS Commands What is a command Types of DOS Commands Basic Terms
Ch 61 Using DEL, REN, MOVE, and RD /S. Ch 62 Overview Will continue to work with internal commands that help manage and manipulate files.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 13 Supporting Windows 2000/XP Users and Their Data.
The Command Line Interface. The OS files IO.sys MSDOS.sys Command.com IO and MSDOS are hidden files, COMMAND.COM shows in directory listings.
Understanding the Boot Process and Command Line
Microsoft Office Illustrated Introductory, Premium Edition with Word 2003 Getting Started.
Ch 21 Command Syntax Using the DIR Command with Parameters and Wildcards.
Gene Perkins, Lassen High School Networking Academy
Windows Management Computer Literacy 1 Transition Plus Services.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
Getting Started Additional information. Important DOS Commands Getting Started dirlists disk directories verdisplays OS version clsclear command prompt.
Computing Fundamentals Module Lesson 10 — File Management with Windows Explorer Computer Literacy BASICS.
OS Troubleshooting Written by: Tim Keyser Georgia CTAE Resource Network 2010.
Basic MS-DOS. History MS-DOS 1.0 was released in August 1981, and was updated until April 1994 when it was replaced by Windows 95 All versions of windows.
1.  Microsoft DOS (Disk Operating System) use a command line user interface.command line  A command line user interface means that the user is required.
Lesson 9: Windows Management Ms. Tracy Digital Literacy.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
Operating Systems Written by: Tim Keyser Georgia CTAE Resource Network 2010.
File and Folder CLI Commands 12/24/ Agenda Overview of OS functions and the SHELL Internal v External Commands Command History Making & Modifying.
The Command Line Yep, you need to know this. The Basics Start with the Prompt, what the computer tells you when ready for a command You type a command.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
XP New Perspectives on Microsoft Windows XP Tutorial 2 1 Microsoft Windows XP Working with Files Tutorial 2.
1 Lesson 9 Windows Management Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 15 Windows 9x/Me Commands and Startup Disk.
Ahmadu Bello Computer Repair Training Course 6: Use of Software By Suprix Technology Nigeria ( A.B.U repair computer training.
IST 222 Day 6. DOS Naming Conventions A filename contains up to 8 characters, a separating period, and a file extension of up to three characters This.
MS-DOS is an acronym for MicroSoft Disk Operating System It is a CUI based operating system. It provides user with a command prompt (generally called.
FIRST COURSE Exploring the Basics of Microsoft Windows Vista.
Chapter 2 – Introduction to Windows Operating System II Manipulating Windows GUI 1CMPF112 Computing Skills for Engineers.
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
Yep, you need to know this
Windows Tutorial 2 Organizing Your Files
Getting Started with Application Software
Microsoft Windows 7 - Illustrated
Introduction to Operating Systems
Computer Literacy BASICS
Understanding File Management
GNS 312 (DIGITAL SKILL ACQUISITION)
Microsoft Word 2003 Illustrated Complete
Chapter 6 Windows 9x/Me Commands and Startup Disk
Working with the Command-Line Interfaced
Lesson 9 Windows Management
Microsoft Windows 7 Basics
Windows Tutorial 9 Maintaining Hardware and Software
Operating System Fundamentals
Chapter 6 Using DEL, REN, MOVE, and RD /S Ch 6.
OPERATING SYSTEM B-TECH III YEAR I SEM BRANCH :ECE
1.3 Given a scenario, apply appropriate Microsoft command line tools
Presentation transcript:

1.3 Given a scenario, apply appropriate Microsoft command line tools Command LINE BASICS EXAM 902 1.3 Given a scenario, apply appropriate Microsoft command line tools 4.1 Given a scenario, troubleshoot PC operating system problems with appropriate tools

Command Prompt In many cases its more efficient to manipulate files and folders using commands in a command prompt window than using Windows Explorer In some troubleshooting situations, you have no other option but to use the command prompt window The next section covers using basic commands at the command prompt

prompt Command Prompt Open a command prompt window by clicking the start button, then enter cmd in the search box, and press enter At the command prompt, you enter commands to perform a variety of tasks Windows has 2 levels of command prompt windows, a standard window and an elevated window

Standard vs Elevated Windows The Standard window opens by default and will show the directory of the currently logged on user’s folder Commands requiring administrative privileges will not work in a standard window The Elevated window requires the user to logon as an administrator or enter an admin password The word “administrator” will appear in the title bar The default directory will be: C:\Windows\system32

Windows Vista or 7 In Windows 8 or 10 An elevated command prompt window (indicated by “administrator” in the title bar) has administrative privileges In Windows 8 or 10

5 Command Prompt Tips The following 5 Tips will help you with working in a command prompt window: Tip 5: Type exit and press Enter to close the window Tip 1: Type cls and press Enter to clear the window Tip 4: Press Ctrl+Break or Ctrl+Pause to terminate or pause a command before it is finished Tip 2: Press the up arrow to retrieve the last command that you entered Tip 3: Press the right arrow to retrieve the last command one character at a time

HELP command and results use the help command to get help with any other command and to list all available commands HELP command and results

ping -t xcopy /s chkdsk /f /r Switches Many commands can use parameters (more commonly called switches) Switches effect how the command will work Switches often begin with a slash followed by a single character For example the “dir” command can be used with the “/p” switch to list files and directories one screen at a time So you would enter “dir /p” (without quotations) at the command prompt

DIR A*.??? Wildcards When working at the command prompt you can use wildcard characters to apply a command to a group of files You can also use them to abbreviate a filename if you don’t know the entire name The question mark (?) is a wildcard for one character The asterisk (*) is a wildcard for one or more characters For example to find all files in a folder that start with “A” and have a 3 letter file extension, use the following command: ? *

DIR command and results use the dir command to display a list of files and folders The Dir command is used to list files and directories DIR command and results

Folder Commands Use the Md command to: create a directory Use the Cd command to: change the current default directory Use the Rd command to: remove a directory (empty) Folder Commands

File Commands Use the DEL command (or Erase command) to: delete one or more files Use the REN command to: rename a file or group of files

Copy, Xcopy, & Robocopy Commands Comparison The copy command copies a single file or group of files Example: To copy myfile.txt from drive C: to drive E:, use the following command: C:\>copy myfile.txt E: XCOPY The xcopy command uses the same format as the copy command but it is more powerful ROBOCOPY (robust file copy) The robocopy command is more powerful than xcopy Ability to tolerate network interruptions and resume copying

XCOPY command and results

ROBOCOPY command and results

Disk Commands Chkdsk Command The chkdsk command fixes file system errors and recovers data from bad sectors on the drive Used with the /F switch, chkdsk searches for and fixes two types of file system errors Lost Clusters are clusters marked as used but does not belong to any file; the data in these clusters is lost Cross Linked Clusters are clusters that are marked as belonging to more than one file Used with the /R switch chkdsk looks for lost clusters and cross linked clusters and bad sectors

DEFRAG command and results use the defrag command to examine a drive for fragmented files and rewrite them in contiguous clusters DEFRAG command and results

FORMAT command and results use the format command to perform a high level format on a hard drive or other storage device Format Command FORMAT command and results

SHUTDOWN command and results use the shutdown command to shutdown the local computer or a remote computer SHUTDOWN command and results