Windows Command Prompt Information and How to Use Its Commands List
Summary:Know all about Windows command prompts - including basic commands list, running commands prompts, access previous commands, most used commands, and related helpful information.
Selectați un produs pentru a verifica relevanța articolului
Acest articol se aplică pentru Acest articol nu se aplică pentruAcest articol nu este legat de un produs specific.Acest articol nu acoperă toate versiunile de produs existente.
In Windows operating systems, the Command Prompt is a program that emulates the input field in a text-based user interface screen with the Windows Graphical User Interface (UI).
It can be used to perform entered commands and perform advanced administrative functions. It can also be used to troubleshoot and solve certain kinds of Windows issues.
cd (change directory)
Command used to switch the directory (path) in which you are working.
Example: cd\windows\system32 Will move the prompt to the system32 folder path located in the Windows folder.
dir (Directory)
This function allows you to see available files and folders within the selected directory. Also provides details on the modification date and size of files.
Several additional switches can be used with the command to perform additional actions. (see the Microsoft guide below for further info on the available commands.)
Example: C:\> dir
This displays the contents of the C: directory or drive.
ipconfig
This command displays the current network information for your adapters, including IP Address, Default Gateway, Subnet Mask and so forth.
ping
This command is used as a troubleshooting tool to resolve network issues. It sends a data packet to another system on the network and awaits a reply - outputting the results.
Example: ping 192.168.0.2
This pings the computer with the address 192.168.0.2 and outputs any response.
Help (/?)
The help command provides information about another command including available switches to perform additional tasks.
How do I cancel a command?
Use Ctrl + C to stop a command from running.
Note: This is not an undo. The command only stops the current command during its process.
How can I shut down or restart the computer from the Command Prompt screen?
The commands below can also be used to shutdown or restart computers on your network. This can be handy when applying updates that require restarts to take effect.
shutdown /s command shuts down the system that you are working on.
shutdown /i from the command prompt opens the Remote Shutdown Dialog window, this provides options available using an easy-to-use interface including networked systems.
How do I access previous commands that I have used?
You can use the arrow keys on your keyboard to cycle through the previously performed commands. For example, the UP and DOWN arrows show the most recently used commands. The RIGHT and LEFT arrows display the commands letter by letter.
Alienware, Dell All-in-One, Dell Pro All-in-One, Dell Pro Max Micro, Dell Pro Max Slim, Dell Pro Max Tower, Dell Pro Micro, Dell Pro Slim, Dell Pro Tower, Dell Slim, Dell Tower, Inspiron, Legacy Desktop Models, OptiPlex, Vostro, XPS, G Series
, G Series, Alienware, Dell Plus, Dell Pro, Dell Pro Max, Dell Pro Plus, Dell Pro Premium, Inspiron, Latitude, Dell Pro Rugged, Vostro, XPS, Legacy Laptop Models, Fixed Workstations, Mobile Workstations, Dell Pro Max Slim XE FCS1250, Dell Pro Max Tower T2 XE FCT2250, Dell Pro Max 16 XE MC16250, Dell Pro Micro Plus XE QBM1250, Dell Pro Slim Plus XE5 QBS1250, Dell Pro Tower Plus XE5 QBT1250
...
Proprietăți articol
Article Number: 000130703
Article Type: How To
Ultima modificare: 07 apr. 2025
Version: 10
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.
Proprietăți articol
Article Number: 000130703
Article Type: How To
Ultima modificare: 07 apr. 2025
Version: 10
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.