0% found this document useful (0 votes)
475 views1 page

Windows CMD Commands Overview

Windows command line

Uploaded by

صفا حسان
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
475 views1 page

Windows CMD Commands Overview

Windows command line

Uploaded by

صفا حسان
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Windows CMD Commands Cheat Sheet

T
A D I P
takeown<options> <file> Change file ownership to
date <options> Show/change current date. administrator.
arp <options> <address> path <location > Show/add to PATH.
Show/change ARP cache. ipconfig<options> Show TCP/IP configuration.
defrag <volumes> taskkill <options> Terminate running
Defragment disk.
<options> <task or process> task/process.
assoc .<extension>= Show/change file
extension association. ping <options> <host> Check connection with
<filetype> del <options> <files> Delete file(s) specified host
tasklist <options> Show running tasks.
L
attrib <+/-> <attribute> Show/change file attributes. dir <path><options> List directory contents.
powercfg <options> telnet <command> Run Telnet client.
Show/change power plan.
doskey <options> Show command <arguments> <options>
history/create macros. label <options> Show/change/remove
volume label.
driverquery <options> Show installed device time <options> Show/change current time.
drivers. prompt <string/variables> Change CMD prompt.
B
timeout /t <seconds> Pause CMD.
E M
bcdboot <path> Copy BCD files.
title <string> Change CMD title.
echo <message> Print message. makecab <options> R
<src> <dest> Create .cab file.
tracert <options> <dest> Trace networking path.
rd <path> Remove directory.
erase <options> <files> Delete file(s). md <path>
Create directory. rmdir <path>
c mkdir <path>
tree <options> <path> Show contents in
exit <options> Exit CMD. tree-like structure.
mklink <options> ren <path><old name> Rename
cd <directory> Change current directory. Create hard/symbolic link. <new name>
<link> <target> file(s)/directory(/ies).
rename <path><old name> type <file path> Show file contents.
chkdsk <volume> Scan file system for <new name>
more<file>
Show output as pages.
<options> errors. F <command> | more
robocopy <source> Robust copy. tzutil<options> Show/change time zone.
choice <option> Choice prompt. mountvol <path> Show/make/remove <destination> <file>
<choices> fc <options> Compare files. <volume> volume mount point. <options>
<file 1> <file 2>
move <options> route <options> Show/change routing table.
cipher <option> <file or Show/change encryption.
<src> <dest>
Move/rename files.
<command> <value> V
directory> find <string> <file> Search file for string.

msiexec <options>
<path to package> Run Windows installer ver
<command> | clip Copy command/file findstr <string> <file> Show OS version.
clip < <filename> contents.
Search file for string S
(scripts).
msinfo32<options> Run System Information.
vol<drive> Show disk volume and label.
cls Clear screen. ftype <file type>= Show/change extension schtasks /<subcommand> Schedule tasks.
<open command> association program. mstsc <options> <file> Run Remote Desktop
Connection. Show/set/remove ENV
cmd <options> Start new CMD. set <variable>=<value>
<command> variables. W
G
color <background> Change background and sfc <options> <files or
Check protected file version.
<font> font color. directories>
where<options> Search for file location.
getmac<options> Show MAC address. N <location> <file>
shutdown <options> Shutdown/reboot system.
comp <file 1> <file 2> Compare file contents.
<options> arp <options> <address> Show current user
net <subcommand> Network management tools. information.
H <options> sort <file> Sort data.
compact <options> <file> Compress files and folders.

netstat <options> Show network statistics.


start <title> <options> Start new CMD. X
copy <options> <src> Copy file(s). help<command> Show help for command.
<dest> nslookup <host> DNS querying.
hostname Show hostname <command> <options> systeminfo<options> Show information about xcopy <src> <dest> Copy file(s)/directory(/ies).
system. <options>

You might also like