You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This page contains all the most useful commands and shortcut-keys for windows.
Windows is a series of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptops, tablets, and media center PCs. Its current lineup consists of Windows 11, Windows 10, Windows 8.1, and Windows 7. Windows 10 receives new builds on an ongoing basis, which are available at no additional cost to users.
NOTE: Incase you want to use the touch command avaible in linux, over windows. You can download the `touch.cmd` file from the files folder and make it available at all directories
Basic System Commands
Command
Description
Ctrl+C
Copy
Ctrl+X
Cut
Ctrl+V
Paste
Ctrl+A
Select All
Ctrl+S
Save Document
Ctrl+P
Print a document
Ctrl+Z
Undo
Ctrl+Y
Redo
Ctrl+B
Turn on or turn off bold
Ctrl+I
Turn on or turn off italics
Ctrl+U
Turn on or turn off underline
F2
Rename
F5
Refresh
Alt+F4
Shutdown System
Advanced System Commands
Command
Description
Ctrl+Shift+Esc
Open the Task Manager
Win+E
Opens File Explorer
Win+.
Opens Emoji Panel
Win+Shift+S
Take a cropped Screenshot
Win+H
Opens the windows speech to text recognition
Win+Ctrl+D
Add a new virtual desktop
Ctrl+Win+Right/Left Arrow
Iterate to the next virtual desktop
Win+I
Open Settings
Win+PrtScn
Save a screenshot, as a PNG file in a Screenshots folder inside your Pictures folder
Windows navigation shortcuts
Command
Description
Win+D
Show or hide the desktop
Win+left/right arrow
Snapping a window simply opens it on one side of the screen (left or right, depending on which arrow you hit)
Win+Tab
Open the Task view
Win+A
Open Action Center Panel
Win+K
Open notification center and calendar
Win+Z
Open Snap Layout
Win+S
Search Windows
Win+L
Lock your computer
Win+M
Minimize all windows
Win+Shift+M
Maximize all windows
Win+D+M
Minimize/Maximize all windows
Win+,
Peek Desktop Quickly
Win+V
Open the Clipboard Application (to view & utilized your recent copied text & images)
File explorer Shortcuts
Command
Description
Alt+D
Select the address bar
Ctrl+E/F
Select the search box
Ctrl+N
Open a new window
Ctrl+W
Close the current window
Ctrl+mouse scroll wheel
Change the size and appearance of file and folder icons
Ctrl+Shift+N
Create a new folder
Basic Command Prompt Commands
Command
Description
cd \
Takes you to the top of the directory tree
dir
This displays a list of the files and folders contained in it
DRIVE_CHARACTER:
If you wanted to change the drive from C: to D:
mkdir "NAME"
Create a folder with specified name
md "NAME"
Create a folder with specified name
cls"
Clear Screen
ren "OldName" "NewName"
Renaming files
copy "FileAddress" "Folder/FileAddress"
Copy files to the new folder, or even rename the file name to something new. eg: address/newname.jpg
xcopy /s /i OldFolderAddress NewFolderAddress
Copy folder to new directory.The /s parameter ensures that all the directories and subdirectories are going to be copied, except the ones that are empty. The /i parameter creates a new directory if the destination folder does not exist and copies all the files in it.
del FileAddress
Deletes a file
rd FolderAddress
Deletes a Folder
tree
Displays the tree directory of the particular folder
title
Change the Title of the Command Prompt window
prompt
Change the prompt text of the Command Prompt window
color
Change the colour of the Command Prompt text
time
Displays Current System time
ver
Displays the Windows version
cd . > [filename]
An alternative to touch command in unix, creates a null full with specified name
System Commands
Command
Description
logoff
Logged out of Windows
shutdown /s
Shutdown System
tasklist
Displays the list of running processes in Windows.
taskkill /f /im [process name]
This command lets you kill (or stop, or terminate, if you prefer) processes
taskkill /f /pid [process ID]
This command lets you kill (or stop, or terminate, if you prefer) processes
chkdsk /f
Check your drive for errors and attempt repairing them
sfc /scannow
While the previous command helps check errors on drives, when it comes to scanning the integrity of system files and repairing them, there’s another command you should use: sfc. Not only that it checks all essential files in the operating system, but it also replaces incorrect versions of them with the right ones.
format [drive letter]: /fs:[file system] /q
Format Drive, The /q argument allows you to do a quick format, but you can leave it out if you want to run a regular format. eg: format h: /fs:ntfs /q
diskpart
It allows you to see, manage, create, and delete partitions from your drives.
systeminfo
It collects and displays information about your computer hardware (like the processor, RAM, and network cards installed) and Windows installation (version, install date, hotfixes applied, etc.).
Networking Commands
Command
Description
ipconfig
Show and manage the IP addresses of your computer
ping [IP Address/URL]
Ping is the basic network-related CMD command you should use to test whether your PC can reach a destination device through the network and/or the internet
tracet [IP Address/URL]
Sometimes, using ping is not enough to gather the information, the more advanced command tracert (trace route) allows you to trace the path Internet Protocol packets take to their destination
netsh wlan show profiles
Shows the WiFi_SSID names
netsh wlan show profile name=WiFi_SSID key=clear
The purpose is to help you find the password of a wireless network to which you’ve previously connected.