INTRODUCTION TO CS
LAB (2)
DOS COMMANDS
DOS COMMANDS
What is a command
Types of DOS Commands
⚫ Internal
⚫ External
Basic Terms
⚫ File (File Types)
Executable File
Non Executable File
⚫ Directory
⚫ Root Directory
⚫ Parent Directory
WHAT IS A COMMAND
A command is a set of instructions used to
perform a specific work
Interpreted by the OS interpreter to a machine
language
E.g. <md Ram>,<cd Ram>,etc.
TYPES OF COMMAND
Internal Command
⚫ Those commands which are already loaded in the
Command.COM file while switching to the MS DOS
⚫ E.g. CLS, VER, DEL, etc.
External Command
⚫ Those commands which are not loaded when loading the
Program but are available in the Disk and can be invoked
whenever necessary
⚫ E.g. FORMAT, TREE, XCOPY, etc.
WHAT IS A FILE
A group of organized data (records) which are
assembled for one particular purpose and
considered as one unit
Stored in permanent storage like hard disk,
diskettes, etc.
TYPES OF FILES
Files can broadly be categorized into two types:
1. Executable Files
2. Non-Executable Files (Data Files)
WHAT ARE EXE FILES
Exe Files:
1. Program files that run or execute themselves
2. Have either COM or EXE or BAT as extension
WHAT ARE DATA FILES
Non- executable files that contain only the data
that we produce
Cannot execute themselves
Need application program to run
WHAT IS A DIRECTORY
A directory is a list of file which is itself a file
stored in the computer’s memory so that users
can reference it as it is required
Also called a catalog of files
ROOT DIRECTORY
The Root directory is that directory that is
automatically created when the disk is formatted
It is the current drive that we have been working
⚫ E.g. A:, B: (for Floppy Disk Drive)
⚫ C:,D: etc. (for Hard Disk Drive)
CURRENT / PARENT DIRECTORY
Current directory is that directory in which you
are currently working
Parent directory is that directory which is one
level up of the current directory
⚫ E.g. C:RamHari>
Root directory
Parent directory
Current directory
GETTING INTO MS DOS
To start MS DOS, click
on the Start button and
choose Run
In the Run dialog box,
type CMD or
COMMAND which is
the EXE file for MS
DOS
Click on the OK button
LISTING THE DIRECTORIES AND FILES IN MS
DOS
For listing the Sub-directories and Files within a
directory, we use the DIR command
Syntax :
⚫ DIR [Directory_name]
⚫ E.g. C:>DIR NCIT
Displays all the directories/files within the directory NCIT
1. Dir/p : -Display file and directory page wise.
2. Dir/w :- Display file And directory in horizontal Style.
3. Dir/p/ w:- Display file And directories page wise and
horizontal style also.
4. Dir/ah :-Display all hidden files and directories.
5. Dir/a-d : - Display only files.
6. Dir/ad :- Display only Directories.
7. Dir/a/s:-Display all directory and file with subdirectory.
8. Dir/a :- Display All Hidden And Non hidden file and
directories.
9. Dir n*.* :Display all file and directory starting with ‘ n ’
alphabet.
CREATING A DIRECTORY IN MS DOS
For creating the Directory in MS DOS, we use the
MD (Make Directory)command
Syntax:
⚫ C:> MD NCIT
CHANGING A DIRECTORY IN MS DOS
For changing the directory in MS DOS, we use
the CD (Change Directory) command
Syntax:
⚫ C:>CD NCIT
Now it appears as:
⚫ C:NCIT>
SWITCHING BETWEEN DIRECTORIES
For switching between the directories we use the
CD.. Or CD commands
The CD.. Command switches from the current
directory to the Parent directory whereas the CD
command switches from the current directory to the
Root directory
CREATING FILES IN MS DOS
For creating the files in DOS, the
command COPY CON is used
Syntax:
⚫ COPY CON filename
Note:
⚫ After this command is typed, you'll be returned to a blank line,
which is the start of your file. Enter the lines you want to insert
into the file and, when done, press Ctrl+Z to create the file. If
you want to cancel the creation of the file, press Ctrl+C.
READING FILES IN MS DOS
For reading the Pre-created files in MS DOS, we
use the TYPE command. It displays all the
contents that are in the file.
Syntax :
⚫ TYPE Filename
RENAMING FILES
For renaming the files in MS DOS we use the
REN Command
Syntax:
REN oldfilename newfilename
DELETING FILES IN MS DOS
For deleting files in MS DOS we use the DEL
command
Syntax :
⚫ DEL Filename
DELETING DIRECTORIES IN MSDOS
For deleting the directories in MS DOS we use
the RD command
Syntax :
⚫ RD Directoryname
Note : For removing the directory first the directory
should be empty
COPYING FILES IN MS DOS
In MS DOS, Files can be copied within the same
as well as to another Drive / directory
For copying the files in the same drive we use the
following syntax :
⚫ COPY sourcefile destination
⚫ E.g. C:>COPY [c:]NCITfile1.txt
C:NCITNGH
COPYING FILES IN MS DOS
Files can be copied not only in the same drive but in
different drive, too. For copying the files in different
drive, a complete location along with the Drive
specification should be mentioned
Syntax :
⚫ C:>COPY C:NCITfile1 D:NCITNGHNCIT
THE MOVE COMMAND
The MOVE Command in MS DOS is used to
permanently move the files from one location to
another.
The COPY command only copies the files leaving
the original one, whereas the MOVE command does
not leave any copy
Syntax :
⚫ C:>MOVE source_file destination_directory
E.g.
⚫ C:>MOVE c:NCITfile1 D:NCIT1file2
THE VOL COMMAND
The VOL command is used to check the Volume
of the Disk-drive. It displays the volume of the
current disk-drive
Syntax :
⚫ VOL Drivename
E.g.
⚫ C:> VOL
CHECKING THE VERSION OF OS
The VER command is used to check the version of
the Operating System that is used in the Computer
Syntax :
⚫ C:>VER
E.g. C:>VER
CHECKING THE DATE/TIME
For checking the date from the system in MS DOS,
we use the DATE command. It returns the current
system date.
Similarly, the TIME command returns the current
time from the system.
Syntax :
⚫ C:>DATE
E.g. C:>DATE
EXTERNAL COMMANDS
Those commands which are not loaded when
loading the Program but are available in the
Disk and can be invoked whenever necessary
E.g. FORMAT, TREE, XCOPY, etc.
THE LABEL COMMAND
The Label command is used to check the label of
the disk that you have been currently working
Syntax :
⚫ Label [drivename]
E.g.
⚫ C:>Label
XCOPY COMMAND
Xcopy command is used to copy the files from one location
to another along with the directories/sub-directories
Syntax :
⚫ C:>XCOPY c:dir_name d:[dir_name]
E.g. C:>XCOPY c:CSE d:[CSE]
Note: For copying all the sub-directories, /S is used
THE DISKCOPY COMMAND
The DISKCOPY command is used to copy all the
files from one disk to the another disk
It can be used to copy files from one floppy disk to
another (if two floppy drives exist in the System)
Syntax :
⚫ C:> DISKCOPY first_diskdrive: second_diskdrive:
E.g.
⚫ C:> DISKCOPY A: B:
THE DISKCOMP COMMAND
The DISKCOMP command in MS DOS compares
the contents of two disks (hard disk or floppy disk). The
system first reads the contents of one disk and
compares it with the another
Syntax :
⚫ C:> DISKCOMP A: B:
Note:
⚫ Not available on windows 10
For defining the no.of sectors, /no. can be used
THE FORMAT COMMAND
The FORMAT command prepares a new disk for
use by organizing the disk into magnetic tracks
and sectors
Syntax :
⚫ A:>FORMAT [Drive_name]
E.g.
⚫ C:>FORMAT A:
THE TREE COMMAND
The TREE command is used to display all
directory pathnames on the specified disk
Syntax :
⚫ C:>TREE [disk_name]
E.g.
⚫ C:>TREE A:
THE EDIT COMMAND
The EDIT command in MS DOS is used to
edit the files. It provides a different full
screen Editor window with a few menu
options.
Syntax :
⚫ C:>EDIT [filename]
Note:
⚫ The edit command is a legacy 16-bit program, which is
incompatible with 64-bit operating systems.
Therefore, 64-bit versions of Windows do not come installed
with, and cannot run, the edit command. On 64-bit Windows
systems, use Notepad to edit files
THE MORE COMMAND
The MORE Command in MS DOS is used to view
the contents of directories or files one line after the
another, I.e. it displays one line at one press of
return (Enter) key
Syntax :
⚫ DIR |MORE
E.g.
⚫ DIR C:NCIT |MORE
A pipeline is used along with the MORE command
THE PRINT COMMAND
The PRINT Command in MS DOS is used to
print the text files
Syntax :
⚫ PRINT Filename
E.g.
⚫ PRINT File1.txt
THE PROMPT COMMAND
The PROMPT is used to configure a DOS
prompt into our linking
Syntax :
⚫ C: PROMPT Promptname
E.g.
⚫ PROMPT NCIT
Now, the Prompt will be as NCIT
A CHART OF THE COMMANDS EXPLAINED
DIR COMMAND OPTIONS
dir: Displays a list of files
and subdirectories in a
directory.
DIR[drive:][path][filename]
[/A[[:]attributes]] [/B] [/C]
[/D] [/L] [/N]
[/O[[:]sortorder]] [/P] [/Q]
[/R] [/S] [/T[[:]timefield]]
[/W] [/X] [/4]
ONLINE TUTORIALS
http://people.uncw.edu/pattersone/121/labs/L1_M
SDOS_Primer.pdf
https://www.c3scripts.com/tutorials/msdos/comm
ands.html
https://www.kean.edu/~shahrabi/welcome/home/I
D1400/dos.htm
http://behtek.com/SM/MS-DOS.pdf
https://www.computerhope.com/jargon/d/dos.htm

More Related Content

ODP
step by step to install the ubuntu
PPTX
Windows server
PPTX
Disk partitioning
PPTX
Networking in linux
PPT
Chapter07 Advanced File System Management
PDF
SYSTEM ADMINISTRATION AND MAINTENANCE NOTES PERIYAR UNIVERSITY
PPT
Dual boot
PPT
Install and configure linux
step by step to install the ubuntu
Windows server
Disk partitioning
Networking in linux
Chapter07 Advanced File System Management
SYSTEM ADMINISTRATION AND MAINTENANCE NOTES PERIYAR UNIVERSITY
Dual boot
Install and configure linux

What's hot (20)

PPTX
Understanding the Windows Server Administration Fundamentals (Part-2)
PPTX
Linux security introduction
PPTX
History of Windows Server
PPT
Operating Systems
PPT
File Management
PPT
Linux command ppt
PPTX
Operating system and its functions
PPT
Linux file system
PPTX
Linux.ppt
PPT
Defragmentation.46
PPTX
Operating Systems 1: Introduction
PPTX
Ubuntu(Linux)
PPTX
Introduction to Operating System and its Types
PPTX
Users and groups
PPTX
PDF
Linux Presentation
PPTX
1 introduction to windows server 2016
PPTX
Windows Server 2019.pptx
PPT
Linux seminar
Understanding the Windows Server Administration Fundamentals (Part-2)
Linux security introduction
History of Windows Server
Operating Systems
File Management
Linux command ppt
Operating system and its functions
Linux file system
Linux.ppt
Defragmentation.46
Operating Systems 1: Introduction
Ubuntu(Linux)
Introduction to Operating System and its Types
Users and groups
Linux Presentation
1 introduction to windows server 2016
Windows Server 2019.pptx
Linux seminar
Ad

Similar to lab2.pptx.pdf (20)

PPT
Dos_Commands.ppt
PPT
p_ms-dos-new.ppt
PPTX
Dos%20commands(1)
PPSX
ch6.ppsx
PPTX
DOS commands
PPT
Introduction to ms dos
PPTX
DOS PRESENTATION FROM INFORMATION AND TECNOLOGY PACKAGES SPECIALLY FOR COMPUT...
PDF
What is DOS (Disk Operating System).pdf
PPTX
Ms DOS
PPTX
10 MS DOS and Its Commands.pptx .related to
DOC
PC Software - Computer Application - Office Automation Tools
PPT
basicmsdos.ppt
PPT
basic ms dos commands and theory in OSystem
PPT
basicmsdos.ppt
PDF
CMD Command prompts
PPTX
Disk Operating System.pptx
PPT
Dos commands new
Dos_Commands.ppt
p_ms-dos-new.ppt
Dos%20commands(1)
ch6.ppsx
DOS commands
Introduction to ms dos
DOS PRESENTATION FROM INFORMATION AND TECNOLOGY PACKAGES SPECIALLY FOR COMPUT...
What is DOS (Disk Operating System).pdf
Ms DOS
10 MS DOS and Its Commands.pptx .related to
PC Software - Computer Application - Office Automation Tools
basicmsdos.ppt
basic ms dos commands and theory in OSystem
basicmsdos.ppt
CMD Command prompts
Disk Operating System.pptx
Dos commands new
Ad

More from ssuser536c36 (8)

PDF
Section #4 Computer ports.pdf
PDF
Windows 10 Module 1.pdf
PPTX
Command line in Windows.pptx
PDF
Windows 10 Module 2.pdf
PDF
Computer Intro Lab 1.pptx.pdf
PDF
Intro IT.pdf
PDF
سي بالعربي.pdf
PDF
DLD1.pdf
Section #4 Computer ports.pdf
Windows 10 Module 1.pdf
Command line in Windows.pptx
Windows 10 Module 2.pdf
Computer Intro Lab 1.pptx.pdf
Intro IT.pdf
سي بالعربي.pdf
DLD1.pdf

Recently uploaded (20)

PPTX
CyberSecurity Mobile and Wireless Devices
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
introduction to high performance computing
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PPT
Total quality management ppt for engineering students
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PPTX
Management Information system : MIS-e-Business Systems.pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
Amdahl’s law is explained in the above power point presentations
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
CyberSecurity Mobile and Wireless Devices
Categorization of Factors Affecting Classification Algorithms Selection
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
III.4.1.2_The_Space_Environment.p pdffdf
introduction to high performance computing
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
"Array and Linked List in Data Structures with Types, Operations, Implementat...
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Total quality management ppt for engineering students
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Management Information system : MIS-e-Business Systems.pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
Visual Aids for Exploratory Data Analysis.pdf
distributed database system" (DDBS) is often used to refer to both the distri...
Amdahl’s law is explained in the above power point presentations
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems

lab2.pptx.pdf

  • 1. INTRODUCTION TO CS LAB (2) DOS COMMANDS
  • 2. DOS COMMANDS What is a command Types of DOS Commands ⚫ Internal ⚫ External Basic Terms ⚫ File (File Types) Executable File Non Executable File ⚫ Directory ⚫ Root Directory ⚫ Parent Directory
  • 3. WHAT IS A COMMAND A command is a set of instructions used to perform a specific work Interpreted by the OS interpreter to a machine language E.g. <md Ram>,<cd Ram>,etc.
  • 4. TYPES OF COMMAND Internal Command ⚫ Those commands which are already loaded in the Command.COM file while switching to the MS DOS ⚫ E.g. CLS, VER, DEL, etc. External Command ⚫ Those commands which are not loaded when loading the Program but are available in the Disk and can be invoked whenever necessary ⚫ E.g. FORMAT, TREE, XCOPY, etc.
  • 5. WHAT IS A FILE A group of organized data (records) which are assembled for one particular purpose and considered as one unit Stored in permanent storage like hard disk, diskettes, etc.
  • 6. TYPES OF FILES Files can broadly be categorized into two types: 1. Executable Files 2. Non-Executable Files (Data Files)
  • 7. WHAT ARE EXE FILES Exe Files: 1. Program files that run or execute themselves 2. Have either COM or EXE or BAT as extension
  • 8. WHAT ARE DATA FILES Non- executable files that contain only the data that we produce Cannot execute themselves Need application program to run
  • 9. WHAT IS A DIRECTORY A directory is a list of file which is itself a file stored in the computer’s memory so that users can reference it as it is required Also called a catalog of files
  • 10. ROOT DIRECTORY The Root directory is that directory that is automatically created when the disk is formatted It is the current drive that we have been working ⚫ E.g. A:, B: (for Floppy Disk Drive) ⚫ C:,D: etc. (for Hard Disk Drive)
  • 11. CURRENT / PARENT DIRECTORY Current directory is that directory in which you are currently working Parent directory is that directory which is one level up of the current directory ⚫ E.g. C:RamHari> Root directory Parent directory Current directory
  • 12. GETTING INTO MS DOS To start MS DOS, click on the Start button and choose Run In the Run dialog box, type CMD or COMMAND which is the EXE file for MS DOS Click on the OK button
  • 13. LISTING THE DIRECTORIES AND FILES IN MS DOS For listing the Sub-directories and Files within a directory, we use the DIR command Syntax : ⚫ DIR [Directory_name] ⚫ E.g. C:>DIR NCIT Displays all the directories/files within the directory NCIT
  • 14. 1. Dir/p : -Display file and directory page wise. 2. Dir/w :- Display file And directory in horizontal Style. 3. Dir/p/ w:- Display file And directories page wise and horizontal style also. 4. Dir/ah :-Display all hidden files and directories. 5. Dir/a-d : - Display only files.
  • 15. 6. Dir/ad :- Display only Directories. 7. Dir/a/s:-Display all directory and file with subdirectory. 8. Dir/a :- Display All Hidden And Non hidden file and directories. 9. Dir n*.* :Display all file and directory starting with ‘ n ’ alphabet.
  • 16. CREATING A DIRECTORY IN MS DOS For creating the Directory in MS DOS, we use the MD (Make Directory)command Syntax: ⚫ C:> MD NCIT
  • 17. CHANGING A DIRECTORY IN MS DOS For changing the directory in MS DOS, we use the CD (Change Directory) command Syntax: ⚫ C:>CD NCIT Now it appears as: ⚫ C:NCIT>
  • 18. SWITCHING BETWEEN DIRECTORIES For switching between the directories we use the CD.. Or CD commands The CD.. Command switches from the current directory to the Parent directory whereas the CD command switches from the current directory to the Root directory
  • 19. CREATING FILES IN MS DOS For creating the files in DOS, the command COPY CON is used Syntax: ⚫ COPY CON filename Note: ⚫ After this command is typed, you'll be returned to a blank line, which is the start of your file. Enter the lines you want to insert into the file and, when done, press Ctrl+Z to create the file. If you want to cancel the creation of the file, press Ctrl+C.
  • 20. READING FILES IN MS DOS For reading the Pre-created files in MS DOS, we use the TYPE command. It displays all the contents that are in the file. Syntax : ⚫ TYPE Filename
  • 21. RENAMING FILES For renaming the files in MS DOS we use the REN Command Syntax: REN oldfilename newfilename
  • 22. DELETING FILES IN MS DOS For deleting files in MS DOS we use the DEL command Syntax : ⚫ DEL Filename
  • 23. DELETING DIRECTORIES IN MSDOS For deleting the directories in MS DOS we use the RD command Syntax : ⚫ RD Directoryname Note : For removing the directory first the directory should be empty
  • 24. COPYING FILES IN MS DOS In MS DOS, Files can be copied within the same as well as to another Drive / directory For copying the files in the same drive we use the following syntax : ⚫ COPY sourcefile destination ⚫ E.g. C:>COPY [c:]NCITfile1.txt C:NCITNGH
  • 25. COPYING FILES IN MS DOS Files can be copied not only in the same drive but in different drive, too. For copying the files in different drive, a complete location along with the Drive specification should be mentioned Syntax : ⚫ C:>COPY C:NCITfile1 D:NCITNGHNCIT
  • 26. THE MOVE COMMAND The MOVE Command in MS DOS is used to permanently move the files from one location to another. The COPY command only copies the files leaving the original one, whereas the MOVE command does not leave any copy Syntax : ⚫ C:>MOVE source_file destination_directory E.g. ⚫ C:>MOVE c:NCITfile1 D:NCIT1file2
  • 27. THE VOL COMMAND The VOL command is used to check the Volume of the Disk-drive. It displays the volume of the current disk-drive Syntax : ⚫ VOL Drivename E.g. ⚫ C:> VOL
  • 28. CHECKING THE VERSION OF OS The VER command is used to check the version of the Operating System that is used in the Computer Syntax : ⚫ C:>VER E.g. C:>VER
  • 29. CHECKING THE DATE/TIME For checking the date from the system in MS DOS, we use the DATE command. It returns the current system date. Similarly, the TIME command returns the current time from the system. Syntax : ⚫ C:>DATE E.g. C:>DATE
  • 30. EXTERNAL COMMANDS Those commands which are not loaded when loading the Program but are available in the Disk and can be invoked whenever necessary E.g. FORMAT, TREE, XCOPY, etc.
  • 31. THE LABEL COMMAND The Label command is used to check the label of the disk that you have been currently working Syntax : ⚫ Label [drivename] E.g. ⚫ C:>Label
  • 32. XCOPY COMMAND Xcopy command is used to copy the files from one location to another along with the directories/sub-directories Syntax : ⚫ C:>XCOPY c:dir_name d:[dir_name] E.g. C:>XCOPY c:CSE d:[CSE] Note: For copying all the sub-directories, /S is used
  • 33. THE DISKCOPY COMMAND The DISKCOPY command is used to copy all the files from one disk to the another disk It can be used to copy files from one floppy disk to another (if two floppy drives exist in the System) Syntax : ⚫ C:> DISKCOPY first_diskdrive: second_diskdrive: E.g. ⚫ C:> DISKCOPY A: B:
  • 34. THE DISKCOMP COMMAND The DISKCOMP command in MS DOS compares the contents of two disks (hard disk or floppy disk). The system first reads the contents of one disk and compares it with the another Syntax : ⚫ C:> DISKCOMP A: B: Note: ⚫ Not available on windows 10 For defining the no.of sectors, /no. can be used
  • 35. THE FORMAT COMMAND The FORMAT command prepares a new disk for use by organizing the disk into magnetic tracks and sectors Syntax : ⚫ A:>FORMAT [Drive_name] E.g. ⚫ C:>FORMAT A:
  • 36. THE TREE COMMAND The TREE command is used to display all directory pathnames on the specified disk Syntax : ⚫ C:>TREE [disk_name] E.g. ⚫ C:>TREE A:
  • 37. THE EDIT COMMAND The EDIT command in MS DOS is used to edit the files. It provides a different full screen Editor window with a few menu options. Syntax : ⚫ C:>EDIT [filename] Note: ⚫ The edit command is a legacy 16-bit program, which is incompatible with 64-bit operating systems. Therefore, 64-bit versions of Windows do not come installed with, and cannot run, the edit command. On 64-bit Windows systems, use Notepad to edit files
  • 38. THE MORE COMMAND The MORE Command in MS DOS is used to view the contents of directories or files one line after the another, I.e. it displays one line at one press of return (Enter) key Syntax : ⚫ DIR |MORE E.g. ⚫ DIR C:NCIT |MORE A pipeline is used along with the MORE command
  • 39. THE PRINT COMMAND The PRINT Command in MS DOS is used to print the text files Syntax : ⚫ PRINT Filename E.g. ⚫ PRINT File1.txt
  • 40. THE PROMPT COMMAND The PROMPT is used to configure a DOS prompt into our linking Syntax : ⚫ C: PROMPT Promptname E.g. ⚫ PROMPT NCIT Now, the Prompt will be as NCIT
  • 41. A CHART OF THE COMMANDS EXPLAINED
  • 42. DIR COMMAND OPTIONS dir: Displays a list of files and subdirectories in a directory. DIR[drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] [/O[[:]sortorder]] [/P] [/Q] [/R] [/S] [/T[[:]timefield]] [/W] [/X] [/4]