0% found this document useful (0 votes)
31 views6 pages

Chapter 5 OS

Chapter 5 provides an overview of Disk Operating System (DOS) commands and file naming conventions. It details the structure of file names, basic commands for navigating directories, copying, deleting, and renaming files, as well as system commands for managing the DOS environment. The chapter serves as a practical guide for users to effectively utilize DOS commands.

Uploaded by

yahyaomar2210
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views6 pages

Chapter 5 OS

Chapter 5 provides an overview of Disk Operating System (DOS) commands and file naming conventions. It details the structure of file names, basic commands for navigating directories, copying, deleting, and renaming files, as well as system commands for managing the DOS environment. The chapter serves as a practical guide for users to effectively utilize DOS commands.

Uploaded by

yahyaomar2210
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Click to edit Master title style

Chapter 5
Disk Operating System
(DOS) Commands
B Y: - A h m e d H o s s a m

1
File
Click
naming
to edit
conventions
Master title
used
style
in DOS

• All files represented via DOS consist of a root name containing


one to eight characters.
• File names may also include an extension name containing one
to three characters.
• A period always separates the root name from the extension.
The root name may not match any device name.
• Here is a generalized example: [Link]

2 2
Basic
ClickDOS
to edit
commands
Master title style

Command Description
CD • CHDIR (change directory).
CD .. • Move to the parent directory.
CD \ • Move to the root of current drive.
CD x • Move to the “x” drive/directory.
COPY x y • Copy file “x” to “y”.
DEL • ERASE (delete files).
DEL folder • Deletes all files within “folder”.
Erase • To delete an item

3 3
Basic
ClickDOS
to edit
commands
Master title style

Command Description
DEL file • Deletes all files named “file”.
DEL . • Deletes all files within current directory.
DEL *.* • Deletes all files within current directory.
RD • Removes (deletes) an empty directory.
REN x y • Rename file “x” to “y”.
DIR • Display contents of current directory.
DIR /W /P *.* • Display all contents one screen at a time.
DIR | more • Display all contents one line at a time.
DIR /? • Provides syntax info and complete list of all DIR parameters.
cls • Clear the screen

4 4
Basic
ClickDOS
to edit
commands
Master title style

Command Description
MOVE • Moves files and renames files and directories.
MOVE x y • Move or rename “x” to “y”.
EDIT • Launch the MS-DOS text editor (the DOS version of [Link]).
EXIT • Exit the DOS command prompt.
• Creates a new directory on the specified path.
md • If directories don’t already exist on the path, md creates them
automatically (you can also use the mkdir command).
Date • Show current date & it enables you to change it
Time • Show current time & enables you to change it
Ctrl + alt + del • To reboot the computer while in DOS

5 5
Click to edit Master title style

Thank You

You might also like