0% found this document useful (0 votes)
30 views

Medi-Caps University Indore: Master of Business Administration SESSION - 2021 - 2023 Computer Appication in Management

The document discusses DOS commands used in MS-DOS operating systems. It describes internal commands, which perform basic file and directory operations without external file support, and external commands, which require additional files or are less commonly used. Examples of both internal commands like DATE, TIME, COPY, and external commands like EDIT, XCOPY, FIND, LABEL, and TREE are provided along with their syntax. The document serves as a guide to common DOS commands for Windows users.

Uploaded by

Manoj Rampurya
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Medi-Caps University Indore: Master of Business Administration SESSION - 2021 - 2023 Computer Appication in Management

The document discusses DOS commands used in MS-DOS operating systems. It describes internal commands, which perform basic file and directory operations without external file support, and external commands, which require additional files or are less commonly used. Examples of both internal commands like DATE, TIME, COPY, and external commands like EDIT, XCOPY, FIND, LABEL, and TREE are provided along with their syntax. The document serves as a guide to common DOS commands for Windows users.

Uploaded by

Manoj Rampurya
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

MEDI-CAPS UNIVERSITY INDORE

MASTER OF
BUSINESS ADMINISTRATION
SESSION – 2021 – 2023
COMPUTER APPICATION IN MANAGEMENT
PRACTICAL

SUBMITTED TO
PROF. NISHA BHARTI

SUBMITED BY
MANOJ RAMPURYA
2103138
MBA Sec- C
S.NO PRACTICAL DATE

1. Study and practice of internal


and external DOS Commands

2.

3.

4.

6.
PRACTICAL 1
DISC OPERATING SYSTEM
A DOS, or disk operating system, is an operating
system that runs from a disk drive. The term can also
refer to a particular family of disk operating systems,
most commonly MS-DOS, an acronym for Microsoft
DOS.
DOS COMMANDS
DOS Commands are instructions to perform tasks on
files and directories very useful to Windows users.
DOS commands are case insensitive. And as you
already know, file is the area where we store group
of information or data, and collection of group of
files is called a directory.
TYPES OF COMMANDS –
There are two types of Dos Commands
1. Internal Command
2. External Command

INTERNAL COMMAND
These are perfoming basic operations on files directories and
they do not need any external file support
1. Date
The syntax is :- DATE (/T) date
2.Time
The syntax is :- c:\TIME
3.Copy CON
The syntax is :-copy con filename
4.PROMPT
This changes the cmd.exe command prompt. By defult the
prompt id always set to the name of current drive.followed
by > sign.
5.TYPE
The syntax is :-c:\TYPE<Filename>
6. REN
The syntax is :-REN [drive:] [path] filename1 filename2.
7. VOL
The syntax is :-c:\VOL press enter
8. PATH
The syntax is :-C:\>PATH
9.VER
The syntax is :-
EXTERNAL COMMAND
An external command is an MS-DOS command
that is not included in command.com. External
commands are commonly external either because
they require large requirements or are not commonly
used commands.

1. EDIT
This command is used to modify or change the
data of a file. Syntax is EDIT [/B] [/H] [/R] [/S]
[filename(s)]
2. XCOPY

This command is used to copy files and directory


trees from one disk to another disk.
Syntax is XCOPY source [destination] [/A |
/M] [/D[:date]] [/P] [/S
[/E]] [/V] [/W] [/C] [/I] [/Q] [/F] [/L]
[/G] [/H] [/R] [/T] [/U] [/K][/N] [/O] [/X] [/Y]
[/-
Y] [/Z] [/EXCLUDE:file1[+file2][+file3]…]

3. FIND

The FIND command is used to search a file for


a text string. Syntax:- C:\> FIND "String to
search" <File name>
4. LABEL

It is used to create, change, or delete the volume


label of a disk. Syntax is LABEL [drive:] [label]
LABEL [/MP] [volume] [label]
Here, [drive:] is for secifying the drive letter of a
drive to be labelled and [label] specifies the label of
the volume disk. [/MP] is used to specify that the
volume should be created as a mount point and
[volume] is used to specify volume name, usually
mentioned after drive letter followed by colon and
then giving volume name required.

5. CHKDSK

This command is used to check a disk and display a


status report with properties of disk like serial
number, volume label, memory and other properties
along with errors on the disk if any.
Syntax is CHKDSK [volume
path] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]]
6. SORT

This command is useful when we want to sort a file.


When we run this command the result can be get to
display device or file.
Syntax:- C:\> SORT /R < Input file name> <output
file name> Suppose we have a file Player.txt which
having the list of a cricket player team and we want to
sort the list of players, then we uses this command
7. TREE
This command is very useful to view the list of
directories and subdirectories present on the disk in
graphical form. If you wanted to include files also
with directories and subdirectories, then you’ll have to
give the command line as tree/f which presents the
tree view of all the content on your disk. Here is the
syntax for this command with allowed switches:
TREE [drive:path] [/F] [/A]
In case you wanted use ASCII instead of
extended characters, then go ahead include /A in
the command line.
8. DELTREE
This command is used to remove a directory
along with its contents.
Syntax is deltree [drive:path]
9. DOSKEY

This command is generally used to edits


command lines and recalls commands.
Syntax is DOSKEY [/REINSTALL] [/HISTORY] [text]

10. BACK UP

The Backup command backs up one or more files


from one disk to another. You can backup files onto
either a hard disk or on a floppy disk. Syntax is
BACKUP Source Destination

You might also like