Command Prompt, some of user maybe doesn’t use it. Even they have not know what is command prompt for. But until Windows 8 released, Command Prompt is still included, it show that the features is still important.
The commands start from Windows 9x until Windows 8 are increase, simple commands till complex commads for Administrator in fixing some problems. Here are the examples of command in the command prompt :
To start the command prompt, left click start Menu (All Programs) > Accessories then choose Command Prompt. or the easiest way is through the RUN Menu, then type CMD > click “OK” or press enter.
To find out what commands are valid in the Command Prompt,
simply type HELP and press Enter :
This command to display a list of files and directories in the current folder location accessed at the command prompt. For a list of specific parameters for a specific command, type a space followed by the sign /? after the main command. For example: Dir /?
CD atau CHDIR
This command is useful to move to other directory. CD and CHDIR has almost the same features, except for CHDIR we can write the location of the folder or file that there are two spaces without quotation marks. Here are some examples of commands and functions:
CD E:To move to the E drive (but usually without the CD command or just command E: was already able)
CD..to move to the directory above
- CD \ or CD / to move to the root directory (for Windows 7/Vista).
In addition to such uses, we can also use the autocomplete feature file or folder name. After typing in a CD and then followed by a space and a specific letter, press the Tab key (can be used many times) to get the auto complete feature folder or file name.
Very useful in terms of Internet or network connection. By typing the command IPCONFIG then press enter, the computer will display our IP address with some additional information such as Gateway, subnet mask, and others. For more complete information we can type
Additional / ALL is an options or parameters. Besides / ALL, there are several other parameters that are quite useful. For detailed parameter list, please type
When the internet or network can not be connected, we can test the Internet connection or network by using PING command followed by the name or IP address of the website in question. For example :
If the results are Reply from …., then the network or the internet is still connected properly. But if it appears reply Request timed out, indicating the connection is lost. This could be due to a network problem or a cable or the addressee does not exist or can not be found and other factors.
Attrib command is an external command that can be used when we want to see / change the file attributes. Some of the file attributes, we can see the parameters by typing Attrib /? and press Enter
Few Tips: If you experienced something like you lost important data due to a virus has infected your flash or drive on our computer, and then how the virus is by replacing the word eg attributes of a file that changed the file type to be “. Exe (executable)” thus when the anti-virus file scanning. exe, it will automatically be removed because it was infected by a virus. So the most effective way is by splitting a file or folder that is infected with a virus with Command Prompt application below:
(1). Separating the virus from the file or folder that is already infected, and automatically files that have been deleted even by most antivirus will return to normal, as long as the drive is not formatted, and as a first step we have to know in advance where the drive is to be executed eg drive H : \ (then you type in CMD, h: and press enter), at directory h: type
H: \> attrib-s-h *. * / S / d
(2) . Change the file type, for example in our existing computer there’s a software to hide folders, for example : folder lock. When we want to change the software into its original form, then at Command Prompt must type the following formats:
attrib-r-s-h / d / s
attention: must know the location or the drive to be executed.
(3). To find the virus in the computer drive. What you have to do is type in the following format:
” Note: We should make the attrib command to write on a notepad by writing its attrib command without its drive location and then “Save As” and the file type is changed into .Txt not .Bat, after that file .Bat is saved on the drive that will be executed and how to execute it is by clicking on it twice.”