Command Prompt for most 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 till Windows 7 also increasing rapidly, ranging from simple to complex commands for administrators to address and analyze the various problems. Here are some basic commands command prompt that we should know as it is quite useful.
To run a command prompt, get through the start menu (All Programs)> Accessories and select Command Prompt. In addition it could be a faster way through the menu in the start menu RUN type CMD and press enter.
DIR
This command to display the list of files and directories in the folder location that is accessible 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, for example
DIR / A
To determine the parameters or other options, please type DIR /? |
CD or chdir
This command is useful to move the directory. CD and chdir have almost the same features, only to chdir we can write down the location of the folder or file exists two spaces without quotation marks. 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 at the command prompt in C: \ Users \ I>, to move to C:, you can type CD .. 2 times. More simply we can just type in the CD /
In addition to such uses, we can also use the autocomplete feature the name of the file or folder. After typing in a CD and then follow the spacing and the specific letters, we can press the Tab key (can be many times) to get the auto complete feature name of the folder or file.
IPCONFIG
Very beneficial in terms of Internet or network connection. By typing the command IPCONFIG then press enter, it will display the IP address of our computers with some additional information such as Gateway, SubnetMask and others. For more information you can type IPCONFIG / ALL.
Additional / ALL is an option or parameter. Besides / ALL, there are several other parameters is quite useful. For the complete parameter list, please type in IPCONFIG /?
PING
Often when the internet or network can not connect. To test the Internet connection or network, 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
Attrib
Viruses or worms that attack computer usually hide files or folders on your computer or flash. If this happens, 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 folders that are being accessed at the command prompt.
Attrib *.*-S-H-R / S / D
Some Additional Tips
All the command prompt commands usually include many parameters that can be used. To find out what the parameters are provided, add a space and /? after the command you want known. eg attrib /?, PING /?. Each added parameter, before a slash (/) do not forget to add space.
If we want results we write commands that can be stored in a text, each end of the command can we add a ">" and follow the file name. For example the following command:
IPCONFIG / all> D: \ hasil_cmd_config.txt
Then the result will not appear on the command prompt, but stored in the file "hasil_in_config.txt" in drive D:. If the folder or file name contains spaces, then should we give two quotes at the beginning and 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 other than the X corner, we can also type the command EXIT. If we want a different look and more refreshing, we can change easily
Hopefully some command prompt commands above can be useful. To command the command prompt to see more follow the link AZ Command Prompt or Windows XP command prompt AZ Win Vista / 7
0 komentar:
Posting Komentar
When Thank You For Commenting on My Blog