For example if we are using Windows XP we would type cmd. After following these steps you will be presented with a window that look similar to Figure 1 below. Figure 1. Windows Command Prompt.
The command prompt is simply a window that by default displays the current directory, or in windows term a folder, that you are in and has a blinking cursor ready for you to type your commands. To use the command prompt you would type in the commands and instructions you want and then press enter.
In the next section we will discuss some useful commands and how to see all available built in commands for the command prompt. Useful commands. The command. Below I have outlined some of the more important commands and further instruction on how to find information on all the available commands. The Help command - This command will list all the commands built into the command prompt. If you would like further information about a particular command you can type help commandname.
For example help cd will give you more detailed information on a command. The Exit command - This command will close the command prompt.
Simply type exit and press enter and the command prompt will close. The CD command - This command allows you to change your current directory or see what directory you are currently in. To use the CD command you would type cd directoryname and press enter. This would then change the directory you are currently in to the one specified. When using the cd command you must remember how paths work in Windows. For example the file notepad. If you want to change to a directory that is currently in your current directory you do not need the full path, but can just type cd directoryname and press enter.
The DIR command - This command will list the files and directories contained in your current directory, if used without an argument, or the directory you specify as an argument. To use the command you would just type dir and press enter and you will see a listing of the current files in the directory you are in, including information about their file sizes, date and time they were last written to.
The command will also show how much space the files in the directory are using and the total amount of free disk space available on the current hard drive. Figure 2. If you examine the screen above you will see a listing of the directory. The first 2 columns are the date and time of the last write to that file. Followed by whether or not the particular entry is a directory or a file, then the size of the file, and finally the name of the file.
You may have noticed that there are two directories named. In the example above,.. The Copy command - This command allows you to copy files from one location to another. To use this command you would type copy filetocopy copiedfile. If the copy is successful it will tell you so and give you back the prompt. If you are copying within the same directory you do not have to use the path.
Here are some examples and what they would do:. The Move command - This command allows you to move a file from one location to another. Examples are below:. Let me mention a couple of other commands that prove to be very useful very often. Again, when you end up with hard drive problems, this command can prove to be very useful.
You can do things like set a partition to be the active partition, assign a drive letter to a partition, shrink a disk, take a disk offline or online, etc. System File Checker is really useful because it scans all protected system files and replaces incorrect versions with correct file versions. There will be a lot of times when certain system files in Windows have become corrupt and system file checker will fix them for you easily.
A couple of other very useful commands that you might have to end up using are listed below:. That should hopefully get you up and running on how to use and navigate in the MS DOS command prompt! You can also check out this site that has a list of all commands you can use at the command prompt. If you have a question, please post a comment! Founder of Online Tech Tips and managing editor.
He began blogging in and quit his job in to blog full-time. He has over 15 years of industry experience in IT and holds several technical certifications. Telnet — Telnet is not commonly used for accessing modern devices remotely, but some still require setup through the Terminal Network Telnet protocol.
Scroll down until you find Telnet Client. Things are more or less in alphabetical order, which can help you find it. When you see it, make sure the box beside it is checked, then select OK. Windows will search for the necessary files and enable the software, then let you know you need to reboot to complete the changes. Do this and start back up!
You can also copy and paste in a similar manner to the main Windows interface. This command will do it for you. Function keys — Although not so commonly used in modern software, the Function F keys can do quite a lot in a Command Prompt setting:. Change CMD color — You can get creative here if you want.
Select the Colors tab and change the colors to whatever you want. Galaxy Buds 2 Best Movies on Netflix. Function keys — Although not so commonly used in modern software, the Function F keys can do quite a lot in a Command Prompt setting: F1 lets you paste in your last command, character by character. F2 pastes the last command only to a specified character.
0コメント