The command "Command Prompt" which should be known

The command "Command Prompt" which should be known


Command Prompt for some computer users probably are not used anymore. Maybe even some new computer users never know what the command prompt. Although rarely used, but until Windows 7, Command Prompt still included, this indicates that this feature is still very important.
Command prompt commands provided start windws 9x to Windows 7 was only increasing, ranging from simple to complex commands for administrators to address and analyze a variety of problems. Here are some basic command prompt commands that we should know as it is quite useful.
To run the command prompt, get through the start menu (All Programs)> Accessories then select Command Prompt. In addition it could be a faster way through the menu on the start menu RUN type CMD and press enter.
DIR

This command to display a list of files and directories in the current folder location in access at the command prompt. To display hidden files and folders, or add the parameter / A after the DIR command. Make sure there is a space before the slash, eg
DIR / A

To determine the parameters or other options, please type DIR /?
CD or chdir

This command is useful for moving directory. CD and chdir has almost the same features, except for the cd we can write the location of the folder or file that is its space without quotes two. Here are some examples of commands and functions:
CD D: to switch to drive D:
CD .. to move to the directory above
CD \ or CD / to move to the root directory (for Windows 7/Vista). For example, in the command prompt we exist in C: \ Users \ I>, to move to the C:, we can write the CD .. 2 times. More brevity we can write the CD /
In addition to such uses, we can also use the autocomplete feature file or folder name. After typing in the CD then follow certain spaces and letters, we can press the Tab key (can be used many times) to get the auto complete feature folder name or file.
IPCONFIG

Very beneficial in terms of internet connection or network. By typing ipconfig then press enter, it will display the IP address of our computer with some additional information such as Gateway, subnet mask, and others. For more complete information we can type IPCONFIG / ALL.
Additional / ALL is an options or parameters. Addition / ALL, there are several other parameters that quite useful. For a list of more parameters, please type ipconfig /?
PING

Often when the internet or network can not be connected. To test your network or Internet connection, we can use the PING command and follow the website name or IP address of the destination. For example as follows:
PING www.google.com
PING 74.125.235.51

If the results are Reply from ...., then the network or internet connection can be said OK, but if the display appears Request time out, there are several possibilities, such as no connection, cable or network problems or the address does not exist or can not be found and others.

Attrib

Viruses or worms that attack computer usually hide files or folders on your computer or flash. If this is the case, we can use the attrib command to display the file (including to hide the files). The following command will list all files and folders in the folder that is being accessed at the command prompt.
Attrib *. *-S-H-R / S / D

More information is either this command or display the hidden files, please read my previous writing hidden Files and Folders Virus?. Or if you want more easily, just use a small program (no need to install) I ever made, Hidden File Tool.
Some Additional Tips

All command prompt commands usually include many parameters that can be used. To find out what parameters are available, add a space and /? after the command you want to know. for example attrib /?, PING /?. Each added parameter, before a slash (/) do not forget to leave a space.
If we want results we write commands can be saved in text, each end of the command we can add the ">" and follow the file name. For example, the following command:
Ipconfig / all> D: \ hasil_cmd_config.txt
Then the result will not appear in the command prompt, but saved in the file "hasil_in_config.txt" in drive D:. If the folder or file name contains spaces, then we must give two quotes at the beginning and the end. For example as follows:
Ipconfig / all> "D: \ cmd results config.txt"
To clean the display screen, use the CLS command. When finished, click the button to exit than X corner, we could also type the command EXIT. If we want to look different and refreshing, we can replace easily. Please read my previous posts Beautify display the Command Prompt
Hopefully some command prompt commands above could be useful. To command the command prompt to see more follow the link AZ Command Prompt windows XP or AZ command prompt Win Vista / 7

0 comment "The command "Command Prompt" which should be known", Read or Add comment

Post a Comment