Windows CMD + run line Flashcards
Help
Lists and briefly describes all system commands in plain text.
cls
Short for “Clear screen”. Clears the screen of any commands or outputs.
F7
Key command. Allows the user to view a popup window with the history of all commands entered and select between them.
*
Wildcard Character. Used to represent any number of unknown characters. When placed at the beginning or end of a partial search term, it will return any values with characters preceding or following that term.
MD
Short for “Make Directory”. Creates a new directory or subdirectory.
RD
Short for “Remove Directory”. Removes or Deletes a directory specified by pathname.
CD
“Change Directory”. Allows user to switch to a different working directory.
move
Moves files within current folder or moves files between folders.
ren
Short for “Rename”. Allows user to change the name of one or multiple files.
type
Shows the contents of one or more text files. On execution, the computer “types” the contents of the document onto the screen for the user to see.
Shutdown
Shutdown the computer. Like in linux, this feature allows users to specify the time delay of the shutdown, and displays a warning to all users before safely shutting down.
DEL
“Delete”. Allows user to delete one or more specified files, or all files within a folder or directory.
Format
Format a disk. Allows user with administration permissions to use command line to format a disk volume.
Copy
Copies specified files from one location to another. By copying two files to the same destination, this command allows users to combine files.
XCopy
Copies files and/or directory trees to another folder. Offers more options than Copy to allow user to specify source and destination details.
Robocopy
Short for “Robust Copy”. This copies files and folders, but will only copy files or folders that are not already present in the destination location.
Diskpart
Short for “Disk Partition”. Allows user to create and edit disk partitions.
Chkdsk
Check Disk. Allows users to check and repair problems with a disk. This command checks the file system and metadata of a volume for errors. When used with parameters, will also repair these errors.
DIR
“Directory”. This command displays the list of files or folders within a specified path.
MSTSC
Microsoft Terminal Server Connection. This command allows a user to initiate the Remote Desktop Protocol and access a remote machine.
SFC
System File Checker. This command scans and repairs important Windows system files.
MSINFO32
Microsoft Info 32. The 32 refers to “System32” which is the directory containing important Windows System files. This command displays System Information such as hardware configuration, computer components, and software drivers
REGEDIT
Registry Edit. This command allows the user to import, export, or delete registry settings from a text file.
Tasklist
Lists all running applications and services with their process ID
Taskkill
By naming a task, this command allows the user to kill one or more processes.
Bootrec
“Boot Recovery”. This command allows the user to troubleshoot and repair issues with the boot process
dism
“Deployment Image Servicing and Management”. Allows user to install or configure a Windows Image
GPUpdate
“Group Policy Update”. Allows user to modify group policy settings. For instance if updated server policy settings are not working on a device, running GPUpdate on the device will sync it to the latest Group Policy settings.
GPResult
“Group Policy Result”. Allows user to see the Group Policy settings of a user or device
Ping
Tests a network connection. If successful, this command will return the IP Address. Ping was named for the sound sonar makes when it echolocates an object.
IPConfig
IP Configuration - This command will return the IP Address, and allows users to configure IP info.
Tracert
“Trace route” -This command find the IP address of a remote host.
Nslookup
“Name Server lookup”. This command will search and print a list of the IP Addresses on a NameServer
NET
The Net command allows users to manage network Resources. For example “NET PRINT” Manages network print jobs.