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

Dos Editor PDF

The document discusses the DOS editor, which is a command line text editor that allows users to view, create, and modify files without needing a mouse. It was originally released in 1991 and later acquired by Microsoft. The document outlines basic terminology related to DOS commands and directories. It then describes some common internal commands like cls, dir, date, and time. External commands including chkdsk, diskcopy, format, and scandisk are also covered.

Uploaded by

gunnidh kaur
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
148 views

Dos Editor PDF

The document discusses the DOS editor, which is a command line text editor that allows users to view, create, and modify files without needing a mouse. It was originally released in 1991 and later acquired by Microsoft. The document outlines basic terminology related to DOS commands and directories. It then describes some common internal commands like cls, dir, date, and time. External commands including chkdsk, diskcopy, format, and scandisk are also covered.

Uploaded by

gunnidh kaur
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

 DOS EDITOR

What is DOS Editor?

 Abbreviation: Disk Operating System

 Command line based editor, was released in June 1991, then purchased by Microsoft and
renamed as MS-DOS.

 Now in Windows OS, it is same as command prompt.

 Definition: DOS is a command line text editor that allows you to view, create or modify
any file on your computer. Only need of commands, no mouse required. The editor can
be launched by typing it into the Run command dialog on Windows, and by typing edit
into the command-line interface (usually cmd.exe). Edit is still included in later versions
of Windows such as Windows XP, Windows Vista, and Windows 7, 32-bit.

Basic Terminologies:

Command: A command is a set of instruction used to perform a specific work.

Directory: List of files and folders stored in the computer memory so that user can reference it
as required. Also called catalog of files.

Two Types of Commands in DOS-Editor:

1.Internal commands: An internal command is an MS-DOS command that is stored in the


system memory and loaded from the command.com or cmd.exe. command.com is the
default command-line interpreter for DOS, Windows 95, Windows 98. Internal commands are
commonly used commands.

2. External Commands: Those commands which are not loaded when loading the program but
are available in the Disk and can be invoked whenever necessity. These commands are not
permanent part of the memory. To execute or run this commands an external file is required.

 INTERNAL COMMANDS:

Some commonly used DOS internal commands are

1|P ag e
1 Cls
2. Dir
3. Date
4. Time
5. Ver
6. Del
7. MD
8. CD
9. RD

1) Cls :- The purpose of this command is to clear the display screen and redisplay the Dos
prompt at the top left corner of the screen.

Syntax:- C : / > Cls

2) Dir:- It displays the list of directories and files on the screen.

Syntax:- C : / > dir.


a. C : / > dir/p – It displays the list of directories or files page wise

3) Date: - It displays the current system date. User can also change the current date with new date by
using this command.

Syntax: - C : /> date


Current date is: sat 3-25-2015
Enter of new date (mm-dd-yy):-

4. Time : - It displays the current systems time user can also change existing time with new time by
using this command.

Syntax : - C : / > time


Current time is 12 : 39 - 48 : 36 p
Enter new time : -

5. VER : It displays the version of DOS being used currently.

Syntax : - C : / > Ver


MS – Dos version 6 : 20

2|P ag e
Copy card .

6. REN : - The purpose of this command is to rename the old file name with new file name.

Syntax : - C : / > ren oldfilename newfilename


C : / > ren ramu somu

7. DEL:- The purpose of this command is to delete file. The user can also delete multiple files by
busing this command and long with while cards.

Syntax : - C : / > Del file name . extension


C : / > Del ramu
C : Del x . prg.

8. MD:- The purpose of this command is to create a new directly or sub directly i.e sub ordinate
to the currently logged directly.

Syntax : - C : /> MD directory


C : /> MD sub directory

Ex : C : / > MD college
Now user wants to create a sub directory first year in college directory then
C : / > cd college
C : / > college > Md first year

9. CD : - The purpose of this command is to change from one director to another directory or sub
– directory.

Syntax : - C : / > CD directory name

Ex : C: / > cd college
C : / > college > CD first year
C : / > college > first year >
If the user wants to move to the parents directory then use CD command as
C : / > college > first year > cd ….
C : / > college >

3|P ag e
10 . RD: - The purpose of this command is to remove a directory or sub directory. If the user
wants to remove a directory or sub – directory then first delete all the files in the sub – directory
and then remove sub directory and remove empty main directory.

 EXTERNAL COMMANDS: -

Some commonly used DOS external commands are .

1. CHKDSK:- The command CHSDK returns the configuration status of the selected disk. It returns
the information about the volume, serial number, total disk space, space in directories, space in each
allocation unit, total memory and free memory.

Syntax : - C : / > CHKDSK drive name


Eg:- C : / > CHKDSK e :
If drive name is not mentioned by default current drive is considered.

2. Diskcopy : - Disk copy command is used to make duplicate copy of the disk like Xerox copy. It
first formats the target disk and then copies the files by collection. From the source disk and copied to
the target disk.

Syntax : - C : / > disk copy < source path > < destination path >
Ex: - c : / > diskcopy A : B :

NOTE: - This command is used after diskcopy command to ensure that disk is copied successfully.

3. Format : - Format is used to erase information off of a computer diskette or fixed drive.

Syntax : - C : / > format drive name


Ex : C : / > format A:

4. Label : This command is used to see volume label and to change volume label.

Syntax : C : / > label drive name


Ex : C : / > label A:

5.Scandisk : - This utility is used to repair and check various disk errors. It also defects various
physical disk errors and surface errors.
Syntax : - C : / > scandisk < drive names >

4|P ag e
C : / > Scandisk A :

6. Move : The purpose of move is move to files from one place to another place.

Syntax: C : / > Move < source path > < target path >

7. Tree : This command displays the list of directories and files on specified path using graphical
display. It displays directories of files like a tree.

Syntax:- C : / > tree > path


C : / > tree A:

5|P ag e

You might also like