In Windows, commands are usually entered via acommand-line interpreter, likeCommand PromptorRecovery Console.
Commands must always be entered into a command line interpreterexactly.
Entering a command incorrectly (wrongsyntax, misspelling, etc.)
It can be kind of confusing.
Below are some popular kinds of commands you might encounter.
Command Prompt Commands
Command Prompt commandsaretrue commands.
One example is thechkdsk command, which can be used to fix hard drive errors.
Don’t confuse DOS commands and Command Prompt commands.
Both share many commands, but they are certainly not the same.
Run Commands
Arun commandis simply the name given to an executable for a particular Windows-based program.
It’s not a command in the strictest sense, but more like a shortcut.
Some other examples are a bit more confusing.
For example, executing this opens the Date and Time applet in Control Panel directly.
Recovery Console Commands
Recovery Console commandsare also true commands.
FAQ
The commandipconfiggives you information about your gear’s IP configuration.
Use the commandipconfig /flushdnstoflush the local DNS cache.
Open Command Prompt as an Administrator and enteripconfig /flushdns.
If the flush is successful, the messageSuccessfully flushed the DNS Resolver Cachedisplays.