SlideShare a Scribd company logo
External commands




                    http://improvec.blogspot.in/
                                                   1
Objective

On completion of this period, you would be
 able to know

        External commands-FORMAT,
         CHKDSK, SCANDISK etc




               http://improvec.blogspot.in/
                                              2
Recap


What are internal commands?

        Internal commands are built – in
 commands

 Examples: COPY, DEL, DIR, TYPE, CD, MD,
 RD, MODE, PATH, DATE, TIME, COPY CON
 etc
                http://improvec.blogspot.in/
                                               3
Prerequisite

What is meant by commands

    Instructions used to communicate with the
     computer system




                http://improvec.blogspot.in/
                                                 4
External Commands

 External commands are included in a set of
  programs called utility programs that are stored
  on a disk

 When these commands are used, DOS loads
  appropriate utility programs from disk and then
  executes them

 As a result, external commands are executed
  much more slowly than internal commands


                  http://improvec.blogspot.in/
                                                     5
External Commands (contd)

 CHKSDK [d:]
    • This command is used for checking the
      disk and reporting back the status of the
      system
    • It checks for the memory and gives the
      detailed information about the memory
      consumed as well as free memory

Example :
    CHKDSK A:
                  http://improvec.blogspot.in/
                                                  6
External Commands (contd)

 DISKCOPY [d:] [d:]
      used to copy a diskette into another. This
  makes the diskette in the first drive on the
  diskette in another drive

Example:

     DISKCOPY A: B:

                   http://improvec.blogspot.in/
                                                   7
External Commands (contd)


 DISKCOMP [d:] [d:]
• Compare the contents of two diskettes on the
  drives specified
• If there is any difference in the contents of the
  disks, it gives the message
• Otherwise it asks to compare any other disks

                     http://improvec.blogspot.in/
                                                      8
External Commands (contd)



 TREE [d:] [/F]
      This is used to display all the directories and
  subdirectories. /F displays all files if specified




                    http://improvec.blogspot.in/
                                                        9
External Commands (contd)
 PRINT: [d:] [path] filename

•      This command is used for printing the
  contents of documents or files
•       This command sends the document or the
  file specified to the printer for printing

Example
     C:>PRINT D:DOSLETTERMY
  LETTER.LET
                 http://improvec.blogspot.in/
                                                 10
External Commands (contd)


 FORMAT [d:] [S] [V]

        • This command is used to prepare a fresh
          diskette to be used by the DOS for all its
          storage purposes

        • It divides the disk into tracks and segments
          so that the data can be stored
                     http://improvec.blogspot.in/
                                                       11
External Commands (contd)


• If we want to create a system diskette
  .i.e., a booted diskette which can be
  used to boot a system as it has the basic
  operating system in it, use ‘S’ as option

• This V to create a label



          http://improvec.blogspot.in/
                                          12
External Commands (contd)


 DEL TREE [d:] [path]

  This command is used to delete the directory
   including all the sub directories and the files
  This command has to be used carefully as it is
   dangerous such that it deletes all the files and
   subdirectories permanently


                  http://improvec.blogspot.in/
                                                 13
External Commands (contd)
 XCOPY [drive1:] pathname1 [drive2:] pathname2

       It copies files and directories, including
        lower level directories
       Where drive1 & pathname1 is the source
        file or directory, drive2 & pathname2 is the
        target file or directory
       It is similar to copy command but it also
        copies all the subdirectories including
        empty directories
                  http://improvec.blogspot.in/
                                                  14
External Commands (contd)

Example
    C>XCOPY A: /S

Result
     The above command is used to copy all files
 and subdirectories on the disk in drive A to the
 disk in the drive C



                  http://improvec.blogspot.in/
                                                 15
External Commands (contd)


 ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H]
  [drive:] [path] [filename] [/S [/D]]
      It displays or changes file attributes

  +   Sets an attribute
  -   Clears an attribute
  R   Read-only file attribute
  A   Archive file attribute
                   http://improvec.blogspot.in/
                                                   16
External Commands (contd)

S System file attribute
H Hidden file attribute

[drive:] [path] [filename] It specifies a file for
attrib to process
/S Processes matching files in the current folder
and all subfolders
/D Processes folders as well

                 http://improvec.blogspot.in/
                                                 17
Summary

In this class, you have learnt about

 External commands – FORMAT, CHKDSK,
  SCANDISK, XCOPY, ATTRIB, DISKCOPY,
  PRINT, TREE, DELTREE etc




                   http://improvec.blogspot.in/
                                                  18
Frequently Asked Questions

1. List any four DOS external commands

2. What is DOS external command?

3. Explain any four external commands in DOS.




                 http://improvec.blogspot.in/
                                                19
Quiz

 C>XCOPY A: /S - This command is used to
  copy all files and subdirectories on the disk in
     a. drive A to the disk in the drive C.
     b. drive C to the disk in the drive A.
Answer: a




                   http://improvec.blogspot.in/
                                                     20
Quiz


 The command used to copy a diskette into
  another
     a. DISKCOPY
     b. XCOPY
Answer: a




                 http://improvec.blogspot.in/   21
                                                21

More Related Content

PDF
Ms dos full explanation
PPT
Internal commands.29to30
PPT
Dos commad. by ammar nawab ppt
PDF
Dos commands
PDF
CMD Command prompts
PPTX
Unit II - MS DOS Commands
PPTX
Dos%20commands(1)
PPT
Introduction to ms dos
Ms dos full explanation
Internal commands.29to30
Dos commad. by ammar nawab ppt
Dos commands
CMD Command prompts
Unit II - MS DOS Commands
Dos%20commands(1)
Introduction to ms dos

What's hot (18)

PPSX
Ms dos tutorial
DOCX
Comands of dos
PDF
Command line for the beginner - Using the command line in developing for the...
PPTX
DOS commands
PPT
Dos commands
PPTX
MS Dos command
PPTX
Ms DOS
DOCX
A z index of the windows cmd command line
DOC
CMD Command
PPTX
Basic dos-commands
PPTX
DOS - Disk Operating System
PPT
1.2 boot the system v2
PPTX
Disk operating system
DOCX
Internal commands of dos
PPT
Unix cmc
PPT
Dos commands new
PPT
Batch file programming
PPT
Linux day 1
Ms dos tutorial
Comands of dos
Command line for the beginner - Using the command line in developing for the...
DOS commands
Dos commands
MS Dos command
Ms DOS
A z index of the windows cmd command line
CMD Command
Basic dos-commands
DOS - Disk Operating System
1.2 boot the system v2
Disk operating system
Internal commands of dos
Unix cmc
Dos commands new
Batch file programming
Linux day 1
Ad

Viewers also liked (20)

PPT
System date and time.50
PPT
Bin to hexa.22to23
PPT
Storage devices used in cmp13to14
PPTX
Advantages of windows
PPT
File.32
PPT
Classification of comp.16
PPT
Formatting floppy.40
PPT
Number systems.17
PPT
Internal commands.29to30
PPTX
Need for operating systems 26(1)
PPT
Uninstalling.43
PPT
Windows.33to35
PPT
Dec to bin.20
PPTX
Directories 32(1)
PPT
Find option.39
PPT
Accessing display properties.48to49
PPTX
Config 32(3)
PPT
Bin to dec.21
PPT
Computer networks.51
PPTX
Features of windows
System date and time.50
Bin to hexa.22to23
Storage devices used in cmp13to14
Advantages of windows
File.32
Classification of comp.16
Formatting floppy.40
Number systems.17
Internal commands.29to30
Need for operating systems 26(1)
Uninstalling.43
Windows.33to35
Dec to bin.20
Directories 32(1)
Find option.39
Accessing display properties.48to49
Config 32(3)
Bin to dec.21
Computer networks.51
Features of windows
Ad

Similar to Xternal commands.31 (20)

PPT
EXTERNAL-COMMANDS.ppt EXTERNAL-COMMANDS.ppt
PPTX
CFOA mvjnvvnnvnvnnvnvnvnnvnvnnvnnnP.pptx
DOCX
Martin
PPTX
PPT4-Windows CLI.pptx
DOCX
Comp practical
DOC
PC Software - Computer Application - Office Automation Tools
PPT
Lab1-1.ppt
DOCX
Msdos
PPSX
ch6.ppsx
DOC
20 C programs
PPT
Dos_Commands.ppt
PPT
p_ms-dos-new.ppt
PDF
lab2.pptx.pdf
PDF
Command
PPTX
DOS PRESENTATION FROM INFORMATION AND TECNOLOGY PACKAGES SPECIALLY FOR COMPUT...
PPT
Bba ii cam u i-operating system concept
PDF
33269198 all-commands-in-ms-dos
PDF
33269198 all-commands-in-ms-dos(1)
PPT
Linux komputer coding line command infor
EXTERNAL-COMMANDS.ppt EXTERNAL-COMMANDS.ppt
CFOA mvjnvvnnvnvnnvnvnvnnvnvnnvnnnP.pptx
Martin
PPT4-Windows CLI.pptx
Comp practical
PC Software - Computer Application - Office Automation Tools
Lab1-1.ppt
Msdos
ch6.ppsx
20 C programs
Dos_Commands.ppt
p_ms-dos-new.ppt
lab2.pptx.pdf
Command
DOS PRESENTATION FROM INFORMATION AND TECNOLOGY PACKAGES SPECIALLY FOR COMPUT...
Bba ii cam u i-operating system concept
33269198 all-commands-in-ms-dos
33269198 all-commands-in-ms-dos(1)
Linux komputer coding line command infor

More from myrajendra (20)

PPT
Fundamentals
PPT
Data type
PPTX
Hibernate example1
PPTX
Jdbc workflow
PPTX
2 jdbc drivers
PPTX
3 jdbc api
PPTX
4 jdbc step1
PPTX
Dao example
PPTX
Sessionex1
PPTX
Internal
PPTX
3. elements
PPTX
2. attributes
PPTX
1 introduction to html
PPTX
Headings
PPTX
Forms
PPT
PPTX
Views
PPTX
Views
PPTX
Views
PPT
Starting jdbc
Fundamentals
Data type
Hibernate example1
Jdbc workflow
2 jdbc drivers
3 jdbc api
4 jdbc step1
Dao example
Sessionex1
Internal
3. elements
2. attributes
1 introduction to html
Headings
Forms
Views
Views
Views
Starting jdbc

Xternal commands.31

  • 1. External commands http://improvec.blogspot.in/ 1
  • 2. Objective On completion of this period, you would be able to know External commands-FORMAT, CHKDSK, SCANDISK etc http://improvec.blogspot.in/ 2
  • 3. Recap What are internal commands? Internal commands are built – in commands Examples: COPY, DEL, DIR, TYPE, CD, MD, RD, MODE, PATH, DATE, TIME, COPY CON etc http://improvec.blogspot.in/ 3
  • 4. Prerequisite What is meant by commands Instructions used to communicate with the computer system http://improvec.blogspot.in/ 4
  • 5. External Commands  External commands are included in a set of programs called utility programs that are stored on a disk  When these commands are used, DOS loads appropriate utility programs from disk and then executes them  As a result, external commands are executed much more slowly than internal commands http://improvec.blogspot.in/ 5
  • 6. External Commands (contd)  CHKSDK [d:] • This command is used for checking the disk and reporting back the status of the system • It checks for the memory and gives the detailed information about the memory consumed as well as free memory Example : CHKDSK A: http://improvec.blogspot.in/ 6
  • 7. External Commands (contd)  DISKCOPY [d:] [d:] used to copy a diskette into another. This makes the diskette in the first drive on the diskette in another drive Example: DISKCOPY A: B: http://improvec.blogspot.in/ 7
  • 8. External Commands (contd)  DISKCOMP [d:] [d:] • Compare the contents of two diskettes on the drives specified • If there is any difference in the contents of the disks, it gives the message • Otherwise it asks to compare any other disks http://improvec.blogspot.in/ 8
  • 9. External Commands (contd)  TREE [d:] [/F] This is used to display all the directories and subdirectories. /F displays all files if specified http://improvec.blogspot.in/ 9
  • 10. External Commands (contd)  PRINT: [d:] [path] filename • This command is used for printing the contents of documents or files • This command sends the document or the file specified to the printer for printing Example C:>PRINT D:DOSLETTERMY LETTER.LET http://improvec.blogspot.in/ 10
  • 11. External Commands (contd)  FORMAT [d:] [S] [V] • This command is used to prepare a fresh diskette to be used by the DOS for all its storage purposes • It divides the disk into tracks and segments so that the data can be stored http://improvec.blogspot.in/ 11
  • 12. External Commands (contd) • If we want to create a system diskette .i.e., a booted diskette which can be used to boot a system as it has the basic operating system in it, use ‘S’ as option • This V to create a label http://improvec.blogspot.in/ 12
  • 13. External Commands (contd)  DEL TREE [d:] [path] This command is used to delete the directory including all the sub directories and the files This command has to be used carefully as it is dangerous such that it deletes all the files and subdirectories permanently http://improvec.blogspot.in/ 13
  • 14. External Commands (contd)  XCOPY [drive1:] pathname1 [drive2:] pathname2 It copies files and directories, including lower level directories Where drive1 & pathname1 is the source file or directory, drive2 & pathname2 is the target file or directory It is similar to copy command but it also copies all the subdirectories including empty directories http://improvec.blogspot.in/ 14
  • 15. External Commands (contd) Example C>XCOPY A: /S Result The above command is used to copy all files and subdirectories on the disk in drive A to the disk in the drive C http://improvec.blogspot.in/ 15
  • 16. External Commands (contd)  ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [drive:] [path] [filename] [/S [/D]] It displays or changes file attributes + Sets an attribute - Clears an attribute R Read-only file attribute A Archive file attribute http://improvec.blogspot.in/ 16
  • 17. External Commands (contd) S System file attribute H Hidden file attribute [drive:] [path] [filename] It specifies a file for attrib to process /S Processes matching files in the current folder and all subfolders /D Processes folders as well http://improvec.blogspot.in/ 17
  • 18. Summary In this class, you have learnt about  External commands – FORMAT, CHKDSK, SCANDISK, XCOPY, ATTRIB, DISKCOPY, PRINT, TREE, DELTREE etc http://improvec.blogspot.in/ 18
  • 19. Frequently Asked Questions 1. List any four DOS external commands 2. What is DOS external command? 3. Explain any four external commands in DOS. http://improvec.blogspot.in/ 19
  • 20. Quiz  C>XCOPY A: /S - This command is used to copy all files and subdirectories on the disk in a. drive A to the disk in the drive C. b. drive C to the disk in the drive A. Answer: a http://improvec.blogspot.in/ 20
  • 21. Quiz  The command used to copy a diskette into another a. DISKCOPY b. XCOPY Answer: a http://improvec.blogspot.in/ 21 21