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.

Slides:



Advertisements
Similar presentations
DOS commands.
Advertisements

A batch file is a file that contains a number of DOS commands, each of which could be run individually from the command prompt. By putting them into a.
Understanding the Boot Process and Command Line
Macintosh OS X. What is an operating system? O Like cars, computers have operating systems (sometimes abbreviated OS). O A computer operating system is.
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
A+ Guide to Software, 4e Chapter 6 Windows 9x/Me Commands and Startup Disk.
Chapter 3 Understanding the Boot Process and Command Line.
© 2007 The McGraw-Hill Companies, Inc. All rights reserved Working with the Command- Line Interface Chapter 14.
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
MCT260-Operating Systems I Operating Systems I Routine File Management Part Two.
The sequence of folders to a file or folder is called a(n) ________.
PC Maintenance: Preparing for A+ Certification
Working in DOS DOS is a true operating system
Command Console Tutorial BCIS 3680 Enterprise Programming.
FILES  A file is a collection of related information  Files are kept in directories on a disk.
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.
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.
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.
Ch 71 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editor.
Course ILT Folder and file management Unit objectives Explore the contents of a hard disk and view file and folder attributes by using Windows Explorer.
System Software. BIOS Basic Input Output System A kind of ROM Execute routines Checking RAM, detecting hard disk, floppy disk, CDROM, … etc.
By Umesh ks. Dos is a single user operating system. Its support the all operating system wizards Support the disk scheduling. File management Network.
PC Maintenance: Preparing for A+ Certification Chapter 29: Managing Files.
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.
Chapter Five Maintaining a Computer Part III: File and Folder Management.
DOS Commands What is a command Types of DOS Commands Basic Terms
Chapter 6: Managing Your Data The Windows XP File System File system task on DOS or UNIX Vs. Windows XP –cd or chdir would change your current directory.
Operating System Basics Chapter 1 Release 16/07/20 09 powered by dj.
Understanding the Boot Process and Command Line
Gene Perkins, Lassen High School Networking Academy
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
© Paradigm Publishing Inc. MICROSOFT WINDOWS XP MAINTAINING FILES AND CUSTOMIZING WINDOWS Section 2.
OPERAING SYSTEM 1 CA-210 WINDOWS XP. CHAPTER 1 OPERATING SYSTEM FUNDAMENTALS.
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,
Basic MS-DOS.
Chapter Three The UNIX Editors.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
Unit 2—Using the Computer Lesson 9 Windows and File Management.
File and Folder CLI Commands 12/24/ Agenda Overview of OS functions and the SHELL Internal v External Commands Command History Making & Modifying.
Basic DOS How to get some work done. It’s all a file Everything is a file: OS files, Application files, Data files and Game files Files have 8.3 names:
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.
XP New Perspectives on Microsoft Windows XP Tutorial 2 1 Microsoft Windows XP Working with Files Tutorial 2.
Operating System. What is Operating System OS is system software, which may be viewed as collection of software consisting of procedures for operating.
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.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 3 Understanding the Boot Process and Command Line.
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.
Introduction to Operating Systems IT190 Foundations in Information Technology.
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
Yep, you need to know this
Chapter 6 Windows 9x/Me Commands and Startup Disk
Operating Microcomputer
Working with the Command-Line Interface
Working with the Command-Line Interfaced
Chapter Overview Operating System Basics
Operating System Fundamentals
Working with the Command- Line Interface
OPERATING SYSTEM B-TECH III YEAR I SEM BRANCH :ECE
1.3 Given a scenario, apply appropriate Microsoft command line tools
Presentation transcript:

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

The Prompt This can be (re)set using the PROMPT command Displays the current drive and current directory A:\> This means the computer is waiting for you to type some command and is “looking” at the A: drive, root directory

Where is the Command Line? In Windows 9x, click Start | Run and type COMMAND In Windows 2000, XP, click Start | Run and type CMD In Vista and 7, click Start and type CMD in the Search Box Either way, you get to a black screen with white lettering

And to get out of it Type EXIT at the prompt – or - Click on the close box (upper right corner)

File Names Classic is 8.3; Windows still creates them FileNa~1 for File Named Joe 2K and XP will do this five times, then switch to different method File extensions link file to creating program.DOC for Word documents,.XLS for Excel spreadsheets and now.DOCX and.XLSX Program files are.EXE or.COM Windows file names can be 255 characters

File Format Each (version of a) program stores its file(s) in a specific format Some programs can “read” other file formats, some won’t Simply changing the file extension DOES NOT change the file format You need to watch this when sending files to other people: they need the application you used, or one that can read that format

File Header File Data (in some form) File Footer ASCII file in contrast Clear Text

ASCII American Standard Code for Information Interchange 256 characters (8-bits) Alphabets are in lower 128 codes ASCII files (.txt) often contain “tuning” information for applications Use NotePad to create or edit

Unicode 16-bit version of 8-bit ASCII Lower 256 codes of Unicode line up with ASCII Allows special characters and languages to be used with Windows

File Organization We start at the “root” of a drive We add “folders” (or directories) at the root level We can then add files, or more folders, under those folders

IncomeData ExpensesGames FebJan FebMar C:\ Can contain files or directories C:\Income\Jan\Inc.txt Inc.txt

DIR Gives you a directory listing of the current directory (without any additional info)

CD Change Directory CD to go down one level CD.. To go up one level

Change Drive Type drive letter and colon, press A:\>C: takes you from A: to C: drive C:\>A: takes you back to A: Can be combined with most commands DIR A:\ will give you the directory of A:\ (root) directory from any location on any other drive

MD Make directory immediately below current directory RD [/s] Removes directory immediately below current directory – must be empty, unless you use the /S option There is NO recycle bin at the command prompt

Running a Program Type the name of the program, any switches and press We will do this with FDISK and FORMAT Programs have.COM or.EXE extensions

Create a File For our work at the Command Prompt, use Notepad to create.TXT file(s) with just some text in them Any command prompt, then type notepad at that prompt to open NotePad

Copy Copy c:\test\file1.txt c:\real\file1.txt C:\real>copy c:\test\file1.txt

Rename a file REN REN rico.txt arturo.txt Obviously, rico.txt has to exist and arturo.txt does not exist

File Attributes Four basic attributes: Hidden, System, Read Only and Archive Turn on attribute with: ATTRIB + (h,s,r,a) Turn off an attribute with: ATTRIB – (h,s,r,a)

Wildcards The asterisk (*) will replace (up to) eight characters (or more, for long file names) The question mark (?) will replace ONE character *.DOC = all files that have.DOC extension File0? = file01, file02, file03 to file09 Jan* = all files that start with Jan Can be used with almost all commands that take a file name

Delete a File DEL or ERASE command There is no UNDO command; it is gone forever Be very careful with this command

Batch Files ASCII text files (use NotePad or Edit) with.BAT extension Can include all the commands we have looked at, plus lots more Can save a lot of typing if you want to do the same thing over and over

CHKDSK Check Disk command. It needs total access to hard disk drive Will lurk in background until you restart the system; then it will run after POST and before Windows loads.

SFC System File Checker Sfc /scannow Tends to undo a Service Pack upgrade Wants the Windows installation media

Shutdown That’s what it does Can shut down a remote system

breakbufferscallcd chcpchdirchoicecls copycountrycttydate deldevicedevicehighdir dosdrivparmechoerase errorlevelexistexitfcbs filesforgotoif includeinstalllastdrivelh loadfixloadhighmdmenucolor menudefaultmenuitemmkdirmove notnumlockpathpause promptrdremren renamermdirsetshell shiftstackssubmenuswitches timetruenametypever verifyvol