Command Prompt
Here I give you some basic knowledge about DOS.
* History
Doskey: - It keeps the history of all the commands you use. Simply press [F7] & use up & down keys to select the command.
* Command Prompt after running application
Many times a Dos or command line based program is run through the usual Start > Run method – say something like chkdsk or a network tracert command. The program executes & then shuts down the command line window with it. If you want to see what happens & read the report generated. To do this type the name of application or command after “cmd /k” without quotes. For example, cmd /k chkdsk d: will scan the disk, display the results & leave the command prompt window open.
* Copy & Paste
Most of us have, at some point or other, tried to copy something from or into the command window but the shortcuts [Ctrl] + [C] & [Ctrl] + [V] just wouldn’t work. To copy text from the command prompt, you need to first right click in the blank space of the window & click on “Mark”. Now drag around the text you want to copy. Right click again & the text will be copied into the clipboard. To paste right click in the window itself & & select “Paste”.
If you want to copy & paste stuff quickly then right click on title bar & select “Properties”. Check on the box “QuickEdit Mode”. & click OK.
8 Using Auto Complete
Like Linux console, window’s command prompt too has an auto complete feature, which allows you to complete file names without typing the entire name. Type first few characters of the filename or folder & press [Tab]. If there are more than one result, you can use [Tab] to cycle the result.
8 Using Auto Complete
Like Linux console, window’s command prompt too has an auto complete feature, which allows you to complete file names without typing the entire name. Type first few characters of the filename or folder & press [Tab]. If there are more than one result, you can use [Tab] to cycle the result.
* Full screen Mode
If you try & run a console or Dos application that looks right when you run on full screen, press [Alt] + [Enter]. Use the shortcut again to get back to window mode.
* Open command prompt anywhere
The command prompt starts in the logged users default directory For example “C:\Documents and Settings\Username” But if you want it to start it at another location try this: -
Create a Shortcut on Desktop.
Enter its location “C:\windows\system32\cmd.exe” without quotes. Then give a name to shortcut & Click “Finish”
Right click on the shortcut & click “Properties”
Here I give you some basic knowledge about DOS.
* History
Doskey: - It keeps the history of all the commands you use. Simply press [F7] & use up & down keys to select the command.
* Command Prompt after running application
Many times a Dos or command line based program is run through the usual Start > Run method – say something like chkdsk or a network tracert command. The program executes & then shuts down the command line window with it. If you want to see what happens & read the report generated. To do this type the name of application or command after “cmd /k” without quotes. For example, cmd /k chkdsk d: will scan the disk, display the results & leave the command prompt window open.
* Copy & Paste
Most of us have, at some point or other, tried to copy something from or into the command window but the shortcuts [Ctrl] + [C] & [Ctrl] + [V] just wouldn’t work. To copy text from the command prompt, you need to first right click in the blank space of the window & click on “Mark”. Now drag around the text you want to copy. Right click again & the text will be copied into the clipboard. To paste right click in the window itself & & select “Paste”.
If you want to copy & paste stuff quickly then right click on title bar & select “Properties”. Check on the box “QuickEdit Mode”. & click OK.
8 Using Auto Complete
Like Linux console, window’s command prompt too has an auto complete feature, which allows you to complete file names without typing the entire name. Type first few characters of the filename or folder & press [Tab]. If there are more than one result, you can use [Tab] to cycle the result.
8 Using Auto Complete
Like Linux console, window’s command prompt too has an auto complete feature, which allows you to complete file names without typing the entire name. Type first few characters of the filename or folder & press [Tab]. If there are more than one result, you can use [Tab] to cycle the result.
* Full screen Mode
If you try & run a console or Dos application that looks right when you run on full screen, press [Alt] + [Enter]. Use the shortcut again to get back to window mode.
* Open command prompt anywhere
The command prompt starts in the logged users default directory For example “C:\Documents and Settings\Username” But if you want it to start it at another location try this: -
Create a Shortcut on Desktop.
Enter its location “C:\windows\system32\cmd.exe” without quotes. Then give a name to shortcut & Click “Finish”
Right click on the shortcut & click “Properties”
Comments