®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.

Slides:



Advertisements
Similar presentations
DOS commands.
Advertisements

Getting Started: Ansoft HFSS 8.0
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
MCT260-Operating Systems I Operating Systems I Navigating the File System.
© 2007 The McGraw-Hill Companies, Inc. All rights reserved Working with the Command- Line Interface Chapter 14.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management.
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
The sequence of folders to a file or folder is called a(n) ________.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 7: Advanced File System Management.
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
Working in DOS DOS is a true operating system
Command Console Tutorial BCIS 3680 Enterprise Programming.
Operating System Fundamentals
Command Prompt Chapter 7 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the MS-DOS Text Editor Richard Goldman ©January 31, 2000.
© 2010 The McGraw-Hill Companies, Inc. All rights reserved Mike Meyers’ CompTIA A+ ® Guide to Managing and Troubleshooting PCs Third Edition Working with.
® Microsoft Office 2010 Managing Your Files. XP Files in a Folder Window.
COMPREHENSIVE Windows Tutorial 2 Organizing Your Files.
Windows XP Desktop. Open DOS Command Window.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Access Tutorial 10 Automating Tasks with Macros
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
Or CMD/BATCH.  Title this comand makes the cmd prompt’s title whatever you would like it to be.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 4 Disk Operating System (DOS) and the Command-Line Interface McGraw-Hill.
George Vordenbaum Systems Content Developer Global Support Automation Microsoft Corporation Exploring Windows XP Boot Options and Recovery Console George.
Digital Image Processing Lecture3: Introduction to MATLAB.
Ch 71 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editor.
XP Tutorial 6 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Searching for Information Tutorial 6.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management.
®® Microsoft Windows 7 for Power Users Tutorial 5 Comparing Windows 7 File Systems.
DOS Understanding what you can do. Operating System Traits An OS only works with one type of processor –X86 processors for us; Motorola for Mac –Must.
Ch 51 Internal Commands COPY and TYPE. Ch 52 Overview Will review file-naming rules.
DOS Commands What is a command Types of DOS Commands Basic Terms
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
Ch 21 Command Syntax Using the DIR Command with Parameters and Wildcards.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 7: Advanced File System Management.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Gene Perkins, Lassen High School Networking Academy
Batch File Basics Automate repetitive computer processes Friday, March 12, 2014 Presented by Thomas Redd, STS, Granite School District.
Getting Started Additional information. Important DOS Commands Getting Started dirlists disk directories verdisplays OS version clsclear command prompt.
Operating Systems Concepts 1/e Ruth Watson Chapter 3 Chapter 3 DOS Ruth Watson.
® Microsoft Access 2010 Tutorial 12 Managing and Securing a Database.
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.
DISK OPERATING System MS-DOS. MS-DOS Microsoft Disk Operating System (MS-DOS) is a single user, single tasking operating system. DOS is a command-line,
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.
Ch 91 Pipes, Filters and Redirection. Ch 92 Overview Will use redirection to redirect standard input and standard output.
DOS and the Command Line CS 21a: Introduction to Computing I First Semester,
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
®® Microsoft Windows 7 for Power Users Tutorial 3 Managing Folders and Files.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
File and Folder CLI Commands 12/24/ Agenda Overview of OS functions and the SHELL Internal v External Commands Command History Making & Modifying.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 3 Windows File Management 1 Morrison / Wells / Ruffolo.
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.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
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.
®® Microsoft Windows 7 Windows Tutorial 2 Organizing Your Files.
XP New Perspectives on Microsoft Windows XP Tutorial 2 1 Microsoft Windows XP Working with Files Tutorial 2.
File and File Systems Compiled by IITG Team Need to be reorganized and reworded.
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.
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
PowerShell Introduction Copyright © 2016 – Curt Hill.
Searching for Information
Command Syntax Chapter 2 Using the DIR Command with
Operating System Fundamentals
Command prompt OS Command Prompt (cmd.exe), the command-line interpreter on Windows operating systems + R Open the Run dialog box. Peymer Anatoly.
OPERATING SYSTEM B-TECH III YEAR I SEM BRANCH :ECE
1.3 Given a scenario, apply appropriate Microsoft command line tools
Presentation transcript:

®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment

XP Objectives Learn about the importance of command-line skills Use internal and external commands Customize a command-line window Pipe output to the More filter Compile information about a computer and its power usage Windows 7 for Power Users Tutorial 132

XP Objectives Display a directory tree, change directories, and view directory listings View file attributes Create a directory and copy files Use wildcards to streamline command operations View the Windows environment and create an environment variable Windows 7 for Power Users Tutorial 133

XP Command Help Windows 7 for Power Users Tutorial 134

XP The Importance of Command-Line Skills Provides a way to operate your computer without a graphical user interface Essential for those who manage networks or provide technical support Helps to understand how the Windows operating system works Windows 7 for Power Users Tutorial 135

XP Working with the Command Interpreter To work in a command-line environment under Windows 7, you first open a command- line window A command interpreter is a program that interprets commands entered at the command prompt, locates the appropriate program in memory or on disk, loads the program (if necessary), and then executes the program Windows 7 for Power Users Tutorial 136

XP Opening and Closing a Command Prompt Window From the Start menu, point to All Programs, click Accessories, and then click Command Prompt. Or from the Start menu, type CMD in the Search programs and files box, and then press the Enter key If you want to open a Command Prompt window with Administrator credentials, right-click Command Prompt on the Accessories menu, click the Run as administrator check box (and add a check mark), and then specify Administrator credentials To close the Command Prompt window, type EXIT and then press the Enter key Windows 7 for Power Users Tutorial 137

XP Working with the Command Interpreter Windows 7 for Power Users Tutorial 138

XP Working with the Command Interpreter Once you open a Command Prompt window, you can enter commands at the command prompt to perform specific operations – Internal commands (common and important types of operations) – External commands (program code resides in a specific file on disk) To locate Help information about the use of the internal and external commands, you can use the Help switch (/?) or the HELP command Windows 7 for Power Users Tutorial 139

XP Using Help to Specify Console Colors Default background color is black, and text color is white Use the COLOR command to customize the Command Prompt window Windows 7 for Power Users Tutorial 1310

XP Using Help to Specify Console Colors Windows 7 for Power Users Tutorial 1311

XP Recalling Commands from the Command History To recall the previously entered command in a Command Prompt window, press the Up Arrow key or press the F3 key To display the command history, press the F7 function key, use the Up Arrow key or Down Arrow key to select the command you want to use, and then press the Enter key Windows 7 for Power Users Tutorial 1312

XP Recalling Commands from the Command History Windows 7 for Power Users Tutorial 1313

XP Using External Commands You can use the LABEL command to assign a volume label to a drive Windows 7 for Power Users Tutorial 1314

XP Using the Pipe Operator to Display a Command-Line Reference List HELP | MORE – Pipe operator redirects the output to the MORE filter Produces paged output – Entire command is called a pipeline Windows 7 for Power Users Tutorial 1315

XP Using the SystemInfo Command Displays configuration information about a computer and its operating system Clear the screen, type systeminfo | more and then press the Enter key Windows 7 for Power Users Tutorial 1316

XP Using the SystemInfo Command Windows 7 for Power Users Tutorial 1317

XP Producing a Power-Efficiency Diagnostics Report The external POWERCFG (Power Configuration) command is a command-line tool for controlling power settings on a computer Type powercfg -energy (with a space before the switch), and then press the Enter key Windows 7 for Power Users Tutorial 1318

XP Producing a Power-Efficiency Diagnostics Report Windows 7 for Power Users Tutorial 1319

XP Navigation Windows 7 for Power Users Tutorial 1320

XP Working with Directories and Files TREE command displays directory structure of current directory and subdirectories Windows 7 for Power Users Tutorial 1321

XP Working with Directories and Files Change to the root directory by typing cd \ and then pressing the Enter key Windows 7 for Power Users Tutorial 1322

XP Viewing the Contents of a Directory DIR command lists subdirectories and files within a directory – /a attribute switch includes hidden directories and files /ad only shows directories – /O lists subdirectories first in alphabetical order – /P displays one screen of output at a time Press SPACEBAR to view next page cd directoryname changes directory to name specified Windows 7 for Power Users Tutorial 1323

XP Viewing File Attributes ATTRIB command lists attributes assigned to files – Also can be used to change file attributes Windows 7 for Power Users Tutorial 1324

XP Viewing File Attributes Windows 7 for Power Users Tutorial 1325

XP Creating a Directory MD (Make Directory) command creates a directory on a disk – md “directoryname” Windows 7 for Power Users Tutorial 1326

XP Copying Files The COPY command copies files from one location to another – COPY source destination Windows 7 for Power Users Tutorial 1327

XP Changing Drives Change drives by typing the drive name at the command prompt and then press the Enter key Windows 7 for Power Users Tutorial 1328

XP Using Wildcards in File Specifications A file specification is a notation for selecting one or more files in a command operation A wildcard is a symbol used to select a group of files – Asterisk wildcard (*) Substitutes for all or part of a filename – Question mark wildcard (?) Substitutes for a single character in a filename Windows 7 for Power Users Tutorial 1329

XP Using Wildcards in File Specifications Windows 7 for Power Users Tutorial 1330

XP Viewing the Windows Environment The Windows path (PATH environment variable) locates the program files for external commands Windows 7 for Power Users Tutorial 1331

XP Viewing the Windows Environment The DIRCMD variable allows you to use the DIR command without having to specify the same set of switches each time Windows 7 for Power Users Tutorial 1332

XP Creating a Batch Program A batch program (or batch file) is a user- defined program that contains a list of executable commands – Uses the.bat file extension Each command is listed on a different line Windows 7 for Power Users Tutorial 1333