3 Lecture File Management
3 Lecture File Management
Fundamentals
Lecture 3: File Management
and Windows
Overview: File Management
Files and Folders
Definitions, naming and types
File System
Pathnames
Absolute vs Relative
File Management
Basic File Operations
File Properties
Finding Files
File and Folders
What is a File?
Collection of data stored as an entity
A file stores related data
e.g. a cv, class list
Other Examples
Graphics: .jpg,.bmp, .gif
Web Files: .html(HTML file)
Audio: .mp3, .wav
File and Folders
Folders/Directories
Containers that are used to organize files
They can contain regular files as well as other folders
Generally don’t have extensions just a name
File System
Tree-like structure showing how files and folders are arranged in
a storage device such as a hard disk
C: (Root)
Documents Programs
Microsoft Office
ICT121 COM111
Setup.exe
Week1.docx
Pathnames
Name for a Path taken through a file system to
reach a file
Absolute pathname
Specifies a path starting from the root
E.g. C:\documents\ICT121\week1.docx
Relative pathname
Not specified from the root but from some location
within the file system
More Examples
moswetsi*b.abc matches moswetsi123b.abc
It matches moswetsi2b.abc
➢ moswetsi*b.abc
➢ moswetsi123b.abc
Finding a File: Using Wildcards
Given these file names:
A: gec112.doc
B: g.ec.112.doc
C: gec121.txt
Searches to match:
gec*.doc
gec*.*
*.doc
Finding a File: Using Wildcards
Files Names:
A: gec112.doc
B: g.ec.112.doc
C: gec121.txt
Search:
gec*.doc A
gec*.* A,C
*.doc A,B
Finding a File: Using Wildcards
Files Names:
A: gec112.doc
B: g.ec.112.doc
C: gec121.txt
Search:
gec??.*
gec???.txt
???112.doc
gec*.*t
gec?.txt
Finding a File: Using Wildcards
Files Names:
A: gec112.doc
B: g.ec.112.doc
C: gec121.txt
Search:
gec??.* NONE
gec???.txt C
???112.doc A
gec*.*t C
gec?.txt NONE
RECAP
Pathname
➢ Absolute pathname - Specifies a path starting from the root
➢ Relative pathname – Specifies path from current directory/folder
File Manager : Navigate the file system; Manage Files and Folders e.g. My
Computer
Overview: Desktop and Windows
Desktop
Introduction
Desktop Elements
Windows
Typesof Windows
Window Elements
Desktop
➢ When a computer is switched on it goes though a series of
hardware checks and then loads the operating system (booting
process)
In the lab
Windows XP or Windows 7
If using Windows 7 or later versions you will see a slight difference in the
interface
Desktop
After OS loads
➢ A login screen is then presented at which point the
user should type in their username and password
Start
Windows Explorer
Taskbar
Desktop
Think of it as a Workspace with tools that enable
you to get work done e.g. file management
tasks, running software applications
Basic Features
The Taskbar
My Computer
Folders and Files
My Documents
Desktop: Basic Features
The Taskbar
The bar is found at the bottom of the screen it includes
➢ Clock
For Windows XP
For Windows 7
Desktop: Basic Features
The Taskbar
Clicking on Start gives access to settings, help, and
other programs NB: This might not be available on public/lab computers
Desktop: Basic Features
My Computer/Computer/Windows Explore
Allows you to see what drives are attached to your computer
i.e. gives access to storage devices such as disk drives,
CDROM drives, USB flash drives
Desktop: Basic Features
Recycle Bin
Similar to a waste paper basket
Application Window
Open document within the applicable
program
Example: WordPad (see following slide)
Folder Window
A folder, like “My Documents” that may
contain other folders
WordPad Document Window
Launching WordPad will open a window such as the
one below
Window Elements
Title Bar
Shows name of open application and name of
current document
Window controls
Minimize/maximize/Restore/Close Buttons i.e.
Window Elements
Ribbon
Series of icons representing commands stored on
different tabs
Status Bar
This gives additional information about the
document
e.g. in WordPad, it could display the total
number of pages and the current page in the
document being edited.
Window Elements
Menu Bar
Strip of menus, identified by their names
Desktop
The Taskbar
My Computer
Folders and Files
My Documents
Window
User interface-interacts with open application or folder
Types of Windows: Program, Application, Folder
Questions???