Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Internal and External Commands Used in MS-DOS - Kullabs

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Internal and External Commands Used in MS-DOS | Kullabs.

com

1 of 5

https://www.kullabs.com/class-8/computer/operating-system-ms-dos-ms...

Sign up

Search here...
(https://www.kullabs.com/)

Login

INTERNAL AND EXTERNAL


COMMANDS USED IN MS-DOS
Share

Note

RELATED
NOTES

Things to Remember

Videos (https://www.kullabs.com/class8/computer/operating-system-ms-dosms-windows/internal-and-external-commandsused-in-ms-dos/videos)
Exercises (https://www.kullabs.com/class8/computer/operating-system-ms-dosms-windows/internal-and-external-commandsused-in-ms-dos/exercises)

(https://www.kullabs.com

Quiz (https://www.kullabs.com/class-8/computer
/operating-system-ms-dos-ms-windows/internaland-external-commands-used-in-ms-dos
/practice-test)

/operating-system)

/class-8/computer
/operating-systemms-dos-ms-windows

INTERNAL COMMANDS

(https://www.kullabs.com
/class-8/computer
/operating-systemms-dos-ms-windows
/ms-dos-microsoftdisk-operating-system)
CLS
This command clears the screen.
Syntax: CLS
Example: C:/> CLS
DIR
Syntax:DIR [drive] [switches]
where switches and their meanings are given below:

(https://www.kullabs.com
/class-8/computer

11/13/2016 7:19 AM

Internal and External Commands Used in MS-DOS | Kullabs.com

2 of 5

(https://www.kullabs.com/)

https://www.kullabs.com/class-8/computer/operating-system-ms-dos-ms...

Switch

Meaning

/P

Page-wise pausing

/W

Wide-wise pausing

/AD

Directories

/AH

Hidden files

/0

Displays files/directories in sorted order

/operating-systemSign up

ms-dos-ms-windows

Login

/introductionto-windows)

with following specifications


Use: Displays files, directories and sub-directories.
Example: dir d: /p

Class 8 Computer
Navigator

Output: Displays list of directory page wise

COPY

Computer
Overview

Syntax:COPY
Use: This command copies file(s) from one location to
another.
Example:C:\>COPY C:\Nepal C:\china
TYPE
Syntax: TYPE

History of
Computer
Generation of
Computer
Types of Computer

Use: Used to display the content of a file.


Example:C:\>TYPE Nepal.txt
Output: This command display the information
contained in the file name Nepal.txt

Computer Software
Operating System :
MS-DOS and
MS-WINDOWS

Other Examples:
C:\>Type REED.txt
Now you can view the content of REED.txt

1. Operating
System

REN

(https://www.kullabs.com

Syntax: REN

/class-

Use: Used to rename a file.

8/computer

Example:A:\> REN nepal.doc patan.doc

/operating-

Output: This will rename the old file nepal.doc into

system-ms-dos-

patan.doc

ms-windows
/operating-

Other Examples:
C:\>REN * .COM *.EXE
To rename all the files having .com as an extension
into the extension .exe with the same primary file

system)
2. MS-DOS
(Microsoft Disk
Operating

name of drive C.

11/13/2016 7:19 AM

Internal and External Commands Used in MS-DOS | Kullabs.com

3 of 5

https://www.kullabs.com/class-8/computer/operating-system-ms-dos-ms...

DEL

System)

(https://www.kullabs.com/)
Syntax: DEL filename

(https://www.kullabs.com

Use: Used to delete file(s)

/class-

Example: C:\>DEL try.exe

8/computer

Output: It deletes try.exe file from drive C.

/operating-

MD

Sign up
Login

system-ms-dosms-windows

Syntax: MD< directory- name>


Use: Used to create a directory
Example: C:\>MD School
Output: A directory named "School" is created in root
directory C.

/ms-dosmicrosoftdisk-operatingsystem)
3. Internal and

Date

External

Syntax: Date

Commands

Use: This command is used to display and change

Used in

system date of the computer.

MS-DOS

Example: C:\>DATE

(https://www.kullabs.com

Output: Current date is sat 08-04-2004

/class-

Enter new date (mm-dd-yy):

8/computer

Time

/operatingsystem-

Syntax: TIME
Use: This command is used to change and display the
current system time of the computer.
Example:C:\>TIME
Output:Current time is 7:15:01.91
Enter new time:
CD
Syntax: CD

ms-dosms-windows
/internaland-externalcommandsused-inms-dos)
4.

Use: Used to change or get into the directory.


Example:C:\> CD School
Output: This command let us get into directory School
and we will be in C:\ School>
(https://www.kullabs.com
RD

/class-8/computer

Syntax: RD [directory]

/operating-system-

Use: Used to remove a directory, but the directory

ms-dos-ms-windows

must be empty.

/introduction-

Example: C:\>RD School

to-windows)

11/13/2016 7:19 AM

Internal and External Commands Used in MS-DOS | Kullabs.com

4 of 5

Output: It removes directory School, which is in C


(https://www.kullabs.com/)
drive.

https://www.kullabs.com/class-8/computer/operating-system-ms-dos-ms...

Word Processing
Sign up
Program: MS-Word
Login

VOL
This command shows volume level in the disk.
Syntax: VOL [Drive:]

Spreadsheet
Program: MS-Excel
Presentation
Software

Example: c:/> VOL

EXTERNAL COMMANDS

Web Page
Designing : HTML
Information and
Communication
Technology
Computer Ethics
and Cyber Law
Computer Virus
Computer
Networking

EDIT

Number System

Syntax: EDIT
Use: Used to edit files.

Computer Graphics

Example: C:\>EDIT Suyasha.txt


Output: This command will open the DOS file
Suyasha.txt and will allow us to edit the file.

Multimedia and its


Application
Program Designing
Tools

FORMAT
This command is used to format the disk.
Syntax: Format [Drive:] [Path] File name
Example: c:/ format d:/Q/
Next Topic

Introduction to Windows

(https://www.kullabs.com/class-8/computer
/operating-system-ms-dos-ms-windows/introduction-

Fundamental
Knowledge of
Computer
Programming
Computer
Programming in
QBASIC

to-windows)
Previous Topic

MS-DOS (Microsoft Disk

Operating System) (https://www.kullabs.com/class-

11/13/2016 7:19 AM

Internal and External Commands Used in MS-DOS | Kullabs.com

5 of 5

https://www.kullabs.com/class-8/computer/operating-system-ms-dos-ms...

8/computer/operating-system-ms-dos-ms-windows
(https://www.kullabs.com/)
/ms-dos-microsoft-disk-operating-system)

Sign up
Login

Any Questions on 'Internal and


External Commands Used in
MS-DOS' ?

Submit Question

DISCUSSIONS ABOUT THIS NOTE


(HTTPS://WWW.KULLABS.COM/CLASS8/COMPUTER/OPERATING-SYSTEMMS-DOS-MS-WINDOWS/INTERNALAND-EXTERNAL-COMMANDS-USED-INMS-DOS/DISCUSSIONS)
Sujan Giri (https://www.kullabs.com/home/timeline
8 Months ago
/20883)
how to hack the wifi in CUI
1 Reply (https://www.kullabs.com/class-8/computer
/operating-system-ms-dos-ms-windows/internaland-external-commands-used-in-ms-dos/discussions/10584)
Reply

Show more

11/13/2016 7:19 AM

You might also like