windows

Synopsis

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

CommandDescription
Ctrl+CCopy
Ctrl+XCut
Ctrl+VPaste
Ctrl+ASelect All
Ctrl+SSave Document
Ctrl+PPrint a document
Ctrl+ZUndo
Ctrl+YRedo
Ctrl+BTurn on or turn off bold
Ctrl+ITurn on or turn off italics
Ctrl+UTurn on or turn off underline
F2Rename
F5Refresh
Alt+F4Shutdown System

Advanced System Commands

CommandDescription
Ctrl+Shift+EscOpen the Task Manager
Win+EOpens File Explorer
Win+.Opens Emoji Panel
Win+Shift+STake a cropped Screenshot
Win+HOpens the windows speech to text recognition
Win+Ctrl+DAdd a new virtual desktop
Ctrl+Win+Right/Left ArrowIterate to the next virtual desktop
Win+IOpen Settings
Win+PrtScnSave a screenshot, as a PNG file in a Screenshots folder inside your Pictures folder

Windows navigation shortcuts

CommandDescription
Win+DShow or hide the desktop
Win+left/right arrowSnapping a window simply opens it on one side of the screen (left or right, depending on which arrow you hit)
Win+TabOpen the Task view
Win+AOpen Action Center Panel
Win+KOpen notification center and calendar
Win+ZOpen Snap Layout
Win+SSearch Windows
Win+LLock your computer
Win+MMinimize all windows
Win+Shift+MMaximize all windows
Win+D+MMinimize/Maximize all windows
Win+,Peek Desktop Quickly
Win+VOpen the Clipboard Application (to view & utilized your recent copied text & images)

File explorer Shortcuts

CommandDescription
Alt+DSelect the address bar
Ctrl+E/FSelect the search box
Ctrl+NOpen a new window
Ctrl+WClose the current window
Ctrl+mouse scroll wheelChange the size and appearance of file and folder icons
Ctrl+Shift+NCreate a new folder

Basic Command Prompt Commands

CommandDescription
cd \Takes you to the top of the directory tree
dirThis 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
titleChange the Title of the Command Prompt window
promptChange the prompt text of the Command Prompt window
colorChange the colour of the Command Prompt text
timeDisplays Current System time
verDisplays the Windows version
cd . > [filename]An alternative to touch command in unix, creates a null full with specified name

System Commands

CommandDescription
logoffLogged out of Windows
shutdown /sShutdown System
tasklistDisplays 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 /fCheck your drive for errors and attempt repairing them
sfc /scannowWhile 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] /qFormat 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
diskpartIt allows you to see, manage, create, and delete partitions from your drives.
systeminfoIt 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

CommandDescription
ipconfigShow 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 profilesShows the WiFi_SSID names
netsh wlan show profile name=WiFi_SSID key=clearThe purpose is to help you find the password of a wireless network to which you’ve previously connected.