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)



Learning CMD commands

Here we will learn how to use MS-DOS commands.WE can use MS-DOS commands in command prompt (cmd) of windows operating system. These commands may be very useful and also time saving and some times they may be far more powerful and fast then the user interface of our operating system(here WINDOWS) 

first of all we will learn how to open the command prompt.

friends, Command Prompt is a windows application running in win32 console. We can also say it a command interpreter because a user can directly execute his/her commands without using the GUI of the OS.In our tutorials we will generally call it as CMD which is derived form its executable file's name i.e, CMD.EXE

STEP BY STEP GUIDE TO OPEN CMD

we will use the shortest and ever working method whether there are a lot of ways to open CMD


  1. Press [WINDOWS]+[R]. A window will appear like the this one-
  2. Type "cmd" in the text field and press [ENTER].
  3. A new window will appear like this-


The flashing underscore next to the command prompt is called the cursor. The cursor shows where the command you type will appear.