Documente Academic
Documente Profesional
Documente Cultură
ANDHRA PRADESH
Name : M.Bhagya Lakshmi,
Designation : Lecturer in CCP,
Institution : GMR Polytechnic, Gajwel
Branch : DCCP
Year/semester : First Year
Subject name : Computer Fundamentals.
Subject Code : CCP-105
Topic : DOS Operating System
Duration : 50 min.
Sub –Topic : DOS-PATH MD,CD.
Teaching Aids : PPT
CCP105.25 1
OBJECTIVES:
PATH of files
Mkdir command
Chdir command
CCP105.25 2
Recap
• PROMPT command
• Useful to change the Dos Prompt
• DELETE command
• Useful to delete file
• ERASE command
• Useful to erase files
CCP105.25 3
PATH:
CCP105.25 4
PATH SPECIFICATION
Files are stored in directories
Directories are created on Drives
Path means address of the files and directories
Path consists of drive and directory
Drives are : A & B - Floppy drives.
C,D,E.. - Hard disk drive
F,D.. - CD drives/pen drives
PATH command helps in knowing or setting paths
CCP105.25 5
Default drive
CCP105.25 6
PATH command
CCP105.25 7
PATH command… contd
CCP105.25 8
MKDIR(OR MD)
This command enables you to create a directory in the
current directory
CCP105.25 9
MKDIR command… contd
Example:
C:\>MD PAYROLL (create pay role directory in
root directory of C)
CCP105.25 10
MKDIR command… contd
CCP105.25 11
CHDIR (OR CD)
Changes the current directory to a new directory
Syntax
CD <directory name>
CCP105.25 12
Example
C>CHDIR FORTRAN
or
C>CD FORTRAN
CCP105.25 13
Example
C> CD PAYROLL
C> MD OFFICERS
CCP105.25 14
Example
A:\>CD C:\TEXT\MEMO\OFFICE
CCP105.25 15
Going back in directory structure
CCP105.25 16
CHDIR…Contd
Example:
Suppose, the current directory is
C:\GPW\CCP\XY
CCP105.25 17
Summary
Path
Specifies location of a file within the directory tree
Mkdir
Useful to create directory
Chdir
Useful to change the directory
CCP105.25 18
QUIZ
CCP105.25 19
To change directory, the command is
Mkdir
Chdir
Rd
all
CCP105.25 20
Mkdir command is used create
c) Directory
d) File
e) a&b
f) Subdirectory
CCP105.25 21
Frequently asked questions in examination
Path
Mkdir
Chdir
CCP105.25 22
Thank you
CCP105.25 23