How to run cmd command in win + r - dialog box #window #cmd #rundialog #dialogbox #commands #doscommands
#window #cmd #rundialog #dialogbox #commands #doscommands
To run a Command Prompt (CMD) command using the **Run dialog** (Win + R), follow these steps:
1. **Press Win + R** to open the Run dialog.
2. **Type `cmd`** and press **Enter** to open Command Prompt.
3. Once the Command Prompt window opens, you can type any command you want and press **Enter** to run it.
Alternatively, if you want to run a single CMD command directly from the **Run dialog** without opening the Command Prompt window:
- Type `cmd /c <your_command>` in the Run dialog, replacing `<your_command>` with the command you want to execute.
- For example, to ping Google, you would type:
```
cmd /c ping google.com
```
- This command will execute and close automatically once it’s finished.
**Note**: `cmd /c` executes the command and then closes CMD.
Comments
Post a Comment