
- Complete list of command prompt commands full#
- Complete list of command prompt commands windows 10#
- Complete list of command prompt commands Pc#
- Complete list of command prompt commands windows#
B Uses bare format (no heading information or summary).

S System files I Not content indexed files

H Hidden filesĚ Files ready for archiving Aĝisplays files with specified attributes. Specifies drive, directory, or files to list. Consider, for example, the DIR command: C:\>dir /?ĭisplays a list of files and subdirectories in a directory.ĭIR attributes]] If you use the modifier /? in a command, it will show the help command with all the switches available. Switches allow you to modify the default operation of specific commands. Switches and parameters of a MS-DOS command Eg: dir *.txt will show us all the files with the extension txt Eg: dir edu.* will show us all the files with the name edu, regardless the extension. If we want to select all files with a certain extension or name, you can use the wildcard *. Eg: C:\>\windows\notepad.exe or C:\Windows>c:notepad.exe

If we don´t specify the unit or directory: it will take the unit or the current directory, respectively. Only file name : this only works if we are on the same drive and directory where the file is. To refer to a file or directory we use :įull name : \ : this always works. When we see the word file in a help command, it usually refers either to a file or a directory. If you suspect that one of your drives may have issues, you can initiate this same scan manually as well.MS-DOS commands make little difference between a file and a directory.
Complete list of command prompt commands windows#
You may already be familiar with chkdsk. After an unexpected shutdown, Windows will sometimes halt a reboot to run chkdsk, in order to check for bad sectors and repair errors on the disk. As a a slightly faster alternative, you can also open a PowerShell window as an administrator (Win+X or right-clicking on the Start button). It’ll work the same as the Command Prompt. Right-click on the result for the Command Prompt, then choose Run as administrator. To open a Command prompt as an administrator, hit the Windows key or click on Start button, then type cmd. Running sfc /scannow will check for corrupted files on your system and attempt to repair any files with problems. When parts of the Windows interface start acting up-say, disappearing taskbar icons-it may be time to lean on the System File Checker. It’s more rare that we want only the information that ping reveals, hence tracert’s place on this list. Ping is better for answering the question “Is there a connection and how fast is it?”, while tracert answers both that and “Where does the connection fail?”.
Complete list of command prompt commands windows 10#
By default, the report will save to your Windows 10 user folder under the name “battery-report.html”

If you’ve felt like your battery life has taken a sudden dip, this information will share the battery level at certain points in time, along with the time it recently took to drain since last plugged in.
Complete list of command prompt commands Pc#
The powercfg command can be of use to both desktop PC and laptop owners, especially if you need to toggle the hibernation feature ( powercfg /hibernate) or begin an investigation into what’s disturbing your computer from sleep ( powercfg /lastwake).īut laptops benefit the most from the gem among powercfg’s operations: the battery report ( powercfg /batteryreport). If you never use Run for anything else, it’ll remember this command whenever you next call it up, making it slightly faster than opening a fresh Command Prompt window each time. You can also turn off history while you’re in that menu.)Īn alternative way to use this command is to open Windows 10’s Run command window (Win + R) and enter cmd /c “echo off | clip”.
Complete list of command prompt commands full#
(This command won’t clear your full Clipboard history though, so you’ll have to use Windows 10’s Clipboard settings to do that. Entering this string into the Command Prompt clears the last item on your Clipboard-helpful when you’ve copied sensitive information and are done with it.
