0% found this document useful (0 votes)
13 views3 pages

Dos (2) - 3-5

The document outlines symbols used in file naming and MS-DOS commands, including internal and external commands. It explains the representation of disk drives and provides examples of internal commands with their syntax. Additionally, it details how to navigate and display information in the MS-DOS operating system.

Uploaded by

starlena104
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)
13 views3 pages

Dos (2) - 3-5

The document outlines symbols used in file naming and MS-DOS commands, including internal and external commands. It explains the representation of disk drives and provides examples of internal commands with their syntax. Additionally, it details how to navigate and display information in the MS-DOS operating system.

Uploaded by

starlena104
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
You are on page 1/ 3

Computers lab /1st class MS.

C Fatima ghali

Symbols in Formula of Instruction

Below the Symbols in formula of instruction for name of file or extension


of file.

1- Symbol * it means any thing for name of file or extension of file.


2- Symbol ? it means any one character or one number for name of file or
extension of file.
3- Symbol ┘ it means click on Enter key.
4- Symbol ▼ it means print blank (space) by space key.
5- Symbol [ ] it means option selecting.
6- Symbol \ to determine the path for any location.
7- Symbol / used with some options of instruction.

Types of MS-Dos commands:


There are two types:
1- Internal commands: When starting the computer, the MS-DOS
operating system loaded four files to the main memory automatically. When
the computer turn on these files stored in main memory. The files are
follows:
IO.SYS (the file is hidden).
MS-DOS.SYS (the file is hidden).
DRAVSPACE.BIN (the file is hidden).
COMMAND.COM (the file isn’t hidden).
all internal commands stored in (command.com) file. Below several commands:
DATE, VOL, TIME, DIR, REN, COPY, MD, CD, DEL, RD, TYPE, VER.

2- External commands: The commands stored in hard disk because the big
sized, the computer loaded from hard disk into main memory when it
needed. Below several commands:
SYS, FORMAT, DISK COPY, TREE, DEL TREE, XCOPY, ……….

Disk Drive
The computer used the character to define the parts of hard disk as follows:
A represent floppy disk 3.5
B represent floppy disk 5.25

3
Computers lab /1st class MS.C Fatima ghali

C, D,.... represent hard disk


The next character represent CD-ROM or DVD.

Prompt: it means indicator of MS-DOS operating system. It used to define


root directory as C: or D:,….
Path: the track of current file to directory.
a drive name consists of a drive letter and a colon : and \ .When used a
command, you may need to type a drive name before your filename to tell
MS-DOS where to find the disk that contains your file.
For example, if you have a file named mosul.doc on the disk in drive C: to
tell MS-DOS where to find this file you must write as:

C:\mosul.doc

Drive name filename extension of file

Examples Internal commands

1- Move from drive to other drive:


the syntax
C:\> drive ┘
drive represent the drive that to move it

example: to transfer from drive C to drive D.

C:\> D: ┘
D:\>

2- CLS: clear the screen.


the syntax
C:\> CLS ┘

3- VER: Print the MS-DOS version number.


the syntax
C:\> VER ┘
MS-DOS version 6.22

4
Computers lab /1st class MS.C Fatima ghali

4- VOL: display the name and serial number


the syntax
C:\> VOL ▼ [drive]
C:\> VOL D:
Volume in drive D has no label
Volume serial number is 1E3A-1A6B

5- DATE: Display and modified the date.


the syntax
C:\> DATE ┘
Current date is sat 7_ 9_ 2008
Enter new date (mm_ dd_ yy)
If you want replace the date then you can put the new date after second
statement and click on Enter key
C:\> DATE 7_ 9_ 2008 ┘

6- TIME: displays and modified the time.


the syntax
C:\>TIME ┘
Current time is 10: 05: 45: 1 a
Enter new time 1:20 p
C:\> TIME 12: 45: 30 p ┘

7- DIR: Display a list of files and subdirectories in a drive.


the syntax
C:\> DIR▼ [drive] [path] [file name] [/p] [/w] [/s]

[drive]: disk drive


[path] : select the path of directory to display information.
[file name]: the files to display information.
[/p] : to display the directory and files page by page and click on any key to
continue displayed.
[/w] : to display names with extension by columns.
[/s] : displayed all directory, subdirectory and files with information

You might also like