Monday 1 September 2014

CMD: Typing a command

Typing a Command  

This section explains how to type a command at the command prompt and demonstrates the "Bad command or file name" message.

• To type a command at the command prompt  

1. Type the following at the command prompt (you can type the command in either uppercase or lowercase letters):
nul 
If you make a typing mistake, press the BACKSPACE key to erase the mistake, and then try again.

2. Press ENTER.
You must press ENTER after every command you type.
The following message appears:
Bad command or file name
The "Bad command or file name" message appears when you type something that MS- DOS does not recognize. Because nul is not a valid MS-DOS command, MS-DOS displays the "Bad command or file name" message.

3. Now, type the following command at the command prompt:
ver 
The following message appears on your screen:
MS-DOS version 6.2.9200 (it may be diffident on different OS)



No comments :