You are here: Home > PC Hardware Learning > All DOS commands | DOS 6.22 | What is DOS
Disk Operating System (DOS) 6.22
The OS is a collection of programs that manages and controls the entire operations of the computer. It controls all the I/O devices, processor, memory etc and runs software. The OS supervises the interaction between system and user.
Booting: - Loading the OS into the main memory of the computer is known as booting. The DOS can be loaded into memory in two ways, clod and warm booting. Booting a computer while in “OFF” position is known as cold booting. Rebooting a system while OS is already in the main memory, using reset button or pressing Ctrl + Alt + Delete is known as warm booting.
DOS Prompt: - The OS may be loaded into the main memory either from floppy or hard disk, after booting the DOS the system displays the DOS prompt like a:\> when the DOS is loaded from floppy (If DOS is loaded from hard disk the DOS prompt like c:\>). All the commands are entered at this prompt.
File name: - The data must be stored under a name for the better retrieval and processing performance. In DOS, the file name has two parts, primary and extension part. The primary part is must and can be up to eight characters length. The extension part is optional and can be up to three characters length. Even though all the alpha numeric characters are allowed for naming a file, certain reserved names are given bellow, which cannot be used as file name. E.g.: Aux, Com1, Com2, Cpt1, prn etc…
System files of DOS: - The MS-DOS consists of two hidden files io.sys and msdos.sys and command interpreter named command.com. The file io.sys and msdos.sys manages the processor, memory, I/O devices and file system. The command.com interprets and process all commands that are entered.
In MS-DOS there are two types of commands, internal and external.
The internal commands are an integral part of command interpreter E.g.: dir, cls, date etc. External commands are not a part of command interpreter, so the corresponding file should be loaded into the memory to execute. These are files with extension Exe, Com and Bat E.g.: Tree, Format, fdisk etc.
DOS Commands
Internal Commands
Date To display the current date or change the date.
Time To display the current time or change the time.
Dir To display the list of files & directories in the current position. It displays the name, size, date & time of modification etc…
The command line switches are:
/p Show page wise
/w Show width wise
/s Show all files in all sub-directories also
/on Sort the order of name
/oe Sort the order of extinction
/od Sort the order of date
cls To clear the screen.
Ver To display the version of currently active DOS
Vol To display the Volume label & serial number of the disk.
Copy con
E.g.: - copy con abcdef.asd
Type
Copy
Labels: DOS Commands, PC Hardware Learning
0 comments:
Post a Comment