Site icon Hmhelp

Basics Of MS-DOS (Internal & External Commad)

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.

In MS-DOS the file name follow 8dot3 format and is divided into two parts – primary name and secondary name. Primary name is up to 8 characters long and secondary name is up to 4 characters with dot. For example, in the file-name Logo.jpg, Logo is the primary name and .jpg is the secondary name. Secondary names are fixed for particular type of file, meaning for system files the secondary name is designated as .sys, for text files it is .txt and so on. To name a file or directory special characters like < > , . / * ? | & Space are not allowed. Here is the list of some of the important types of files with their default secondary names:

Text file.txt
Command file.com
System file.sys
Programme file.prg
Database file.dbm
Library file.lib
Batch file.bat
Executable file.exe

DOS Commands are divided into 2 types:

  1. Internal CommandsThese are for performing basic operations on files and directories and they do not need any external file support.
  2. External CommandsThese external commands are for performing advanced tasks and they do need some external file support as they are not stored in COMMAND.COM

There are also Batch commands or Batch files which are text files that contain a list of internal and/or external commands which are executed in sequence when the batch file is executed. AUTOEXEC.BAT gets executed automatically on booting.

In MS-DOS, keyboard shortcuts involving handy ones like Functional keys, arrows, pipe character (” | “), asterisk (*), ?, [] and ESC are of great help for recalling to searching to clearing command line etc., Here are few of them:

MS-DOS commands perform tasks like:

Exit mobile version