File and Directory Management


Advertisements

Here, we will learn the concepts of File and Directory Management −

File

File is nothing but a collection of information. The information can be of numbers, characters, graphs, images, etc. Every file should be stored under a unique name for its future reference. Every file should be saved along with an extension. Some of the extensions and their description are given below −

Sr.No. Extension & Description
1

.avi

Microsoft videos for Windows movie

2

.dbf

dbase II, III, IV data file

3

.doc(x)

Microsoft word for windows

4

.gif

Graphics Interchange Format

5

.htm

Hypertext Markup Language

6

.html

Hypertext Markup Language

7

.jpg

JPEG graphics file

8

.mpg

MPEG video file

9

.mid

MIDI music file

10

.mov

QuickTime movie

Representation

File should be represented in address bar along with path of the file, filename and extension.

For example: C:\Windows\system32\Hello.html
In which C:\Windows\system32 → path
   Hello → filename
   .html → extension.

Directory Management

Directory is a place/area/location where a set of file(s) will be stored. It is a folder which contains details about files, file size and time when they are created and last modified. The different types of directories are discussed below −

Root Directory

Root Directory is created when we start formatting the disk and start putting files on it. In this, we can create new directories called "sub-directories". Root directory is the highest level directory and is seen when booting a system.

Subdirectory

Subdirectory is a directory inside root directory, in turn, it can have another sub-directory in it.

computer_concepts_introduction_to_gui_based_os.htm
Advertisements