Dos Editor PDF
Dos Editor PDF
Command line based editor, was released in June 1991, then purchased by Microsoft and
renamed as MS-DOS.
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:
Directory: List of files and folders stored in the computer memory so that user can reference it
as required. Also called catalog of files.
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:
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.
3) Date: - It displays the current system date. User can also change the current date with new date by
using this command.
4. Time : - It displays the current systems time user can also change existing time with new time by
using this command.
2|P ag e
Copy card .
6. REN : - The purpose of this command is to rename the old file name with new file name.
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.
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.
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.
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: -
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.
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.
4. Label : This command is used to see volume label and to change volume label.
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.
5|P ag e