![Page 1: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/1.jpg)
MCT260-Operating Systems I
Operating Systems I
Navigating the File System
![Page 2: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/2.jpg)
2MCT260-Operating Systems I
Primary Learning Objective
Understand and navigate the file system
![Page 3: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/3.jpg)
3MCT260-Operating Systems I
Specific Learning Objectives
• Identify and define the terms associated with the file system.
• Understand the concept of the Full Path or MS-DOS Path
• Use My Computer and Explorer to navigate through a Windows file system.
• Navigate the directory tree using the Command Line Interface
• View the directory using the DIR command
![Page 4: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/4.jpg)
4MCT260-Operating Systems I
File System
• The features that an operating system uses for naming, organizing, storing, and tracking directories (folders) and files. For example, a hierarchical file system is one that uses directories to organize files into a tree structure.
• File systems have drives, root directories, sub-directories, and files
![Page 5: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/5.jpg)
5MCT260-Operating Systems I
Drives• A name assigned by the operating system to
all or part of the storage space on a physical disk (such as a hard disk, a floppy disk, zip disk, or CD-ROM)
• A hard disk drive can be partitioned to make several logical drives. Such as a D: and E: drives in addition to the C: drive
• The drive name includes both the letter and the colon (C:)
![Page 6: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/6.jpg)
6MCT260-Operating Systems I
Directory
• A special file that keeps track of a group related objects such as sub-directories and files.
• Also called a folder in Windows OSs• The top most directory on a drive is known
as the root directory which is symbolized by the \ (back slash).
• A directory containing sub-directories is called a parent directory.
![Page 7: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/7.jpg)
7MCT260-Operating Systems I
Files
• Files display different types of icons to help identify what type of file they are.
• Files usually have have a three (3) letter extension. See pages 57-60 in CLI Book and page 53 in XP Book
• Executable files (files that contain program code that the OS can load into memory (RAM) and run) have a .exe, .com or .bat extension
![Page 8: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/8.jpg)
8MCT260-Operating Systems I
The File System
![Page 9: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/9.jpg)
9MCT260-Operating Systems I
Full Path (MS-DOS Path)
• Windows operating systems use the full path to locate and load software. It also uses it to find and open folders and files.
• The notation that identifies the exact location of a file or folder (directory) on a disk.
• A related concept is the PATH command which tells the OS where to find executable files it requires.
![Page 10: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/10.jpg)
10MCT260-Operating Systems I
Full PathC:\Classes\MCT260\homework3.doc• The full path of a file will display the drive
name, the folder name(s) that identify the location of the file and the filename.
• The backslash after the drive name ( \ ) refers to the top-level folder known as the root directory.
• All of the other backslashes ( \ ) called delimiters separate the names of two related folders or a folder and the file name.
![Page 11: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/11.jpg)
11MCT260-Operating Systems I
Absolute & Relative Paths
• A full path that includes the backslash ( \ ) before the name of the first directory is known as an absolute path.
– \Classes\MCT260\homework3.doc
• A relative path always starts from the current drive and directory and never begins with a backslash. It is used to identify a sub-directory or file beneath the current drive and directory.
– C:\Classes>CD MCT260\homework3.doc
![Page 12: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/12.jpg)
12MCT260-Operating Systems I
Folder Options
• Found in the Tools menu now. In earlier OS’s, it was in the View menu.
• General Tab
• View Tab
• File Types
![Page 13: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/13.jpg)
13MCT260-Operating Systems I
Navigating with My Computer
• How information is displayed in My Computer
• Opening folders in their own windows vs the same window
• Classic vs Web style
• Viewing options
![Page 14: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/14.jpg)
14MCT260-Operating Systems I
Object-Oriented Operating System
• The newer Windows based operating system treats almost everything on the computer as an object.
• Hardware devices and software applications are objects, Even parts of a word processor document such as a word or sentence are objects.
• Objects have associated actions and properties.
![Page 15: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/15.jpg)
15MCT260-Operating Systems I
Actions and Properties
• Action are operations you perform on objects such as copying or renaming
• Properties are characteristics of an object such as size
• The actions and properties are displayed on short-cut or context menus
• Right-clicking the object will display the short-cut or context menus
![Page 16: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/16.jpg)
16MCT260-Operating Systems I
Navigating with Windows Explorer
Opening Windows Explorer• Folders button on My Computer• Right-click Start button• From Accessories on Start Menu now• Windows key + EFeatures of the Windows Explorer window• Panes.• Title and address bars• Expand View box +
+
![Page 17: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/17.jpg)
17MCT260-Operating Systems I
Command Line Interface
When viewing a directory using the DIR command you will notice that even an empty directory shows that it has two directories (One period = current directory and two periods = parent directory)
![Page 18: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/18.jpg)
18MCT260-Operating Systems I
Navigating the Directory Structure Using CLI
• Using the TREE command to view the directory structure
• Use the Change Directory (CD) command with the absolute and relative paths.
• Use the CD command and .. (parent directory) to move up through levels of directories
• Use the CD command and \ (root symbol) to change to the root directory
• Change the current drive
![Page 19: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/19.jpg)
19MCT260-Operating Systems I
Review
• Drives, root directory, sub-directories, and files
• Full Path (absolute or relative paths)• Object-oriented operating systems• Navigating the Windows file system using
My Computer and Explorer• Navigating the directory tree using the
Command Line Interface
![Page 20: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/20.jpg)
20MCT260-Operating Systems I
In-Class Exercise
Requires a blank floppy disk. This directory structure will be used homework assignments.
• Open Windows Explorer• Expand the drive that is mapped to the Students
share point on SRP6 until you open the \MCT\MCT260\Exercise directory
• Copy all the contents of the directory to the root directory of the A: drive
• Practice navigating the file system as instructed by your instructor.
![Page 21: MCT260-Operating Systems I Operating Systems I Navigating the File System](https://reader038.vdocuments.us/reader038/viewer/2022110207/56649d3a5503460f94a14ad1/html5/thumbnails/21.jpg)
21MCT260-Operating Systems I
Homework Assignment
• Reading– Windows XP Textbook – pp 49-59– CLI Textbook - pp. 116-117, 129-159– Handout
• Lab Exercise 4: Navigating the File System
• Homework 3: The File System
• Due Date: Next Tuesday