CMD Commands CheatSheet

  •  WiFi Information: netsh wlan show all
  • Hide File: ATTRIB +H +S +R "fileName/FolderName"
  • Unhide File: ATTRIB -H -S -R "fileName/FolderName"
  • Restrict User Account: CIPHER /e
  • Drive Information: drivequery
  • Check Battery Life: powercfg /batteryreport
  • Is Window Genuine: slmgr /xpr
  • Find Missing File: sfc /scannow
  • Show Installed Software: wmic product get Name
  • systemreset –factoryreset: reset or format the PC

  • del /q/f/s %temp%\*: clear the temporary files
  • nslookup: resolving DNS into ip
  • ipconfig/all: show ip and all net details
  • ping:
  • driverquery: know about all installed drivers
  • systeminfo: info about your system
  • help color: change text color
  • tree: show directory path clip: copy the result of a DOS command -> use like -> help color | clip
  • ARP –A: show the ARP table
  • NETSTAT –AN: show all connections
  • ver: windows version
  • cleanmgr: clean any drive of PC
  • title: change title of cmd
  • TRACERT: display the route path between your computer to website
  • help: show all cmd
  • cls: clear all cmd
  • exit: exit



Laptop Battery Health:


Commands:

  1. Run CMD as Administrator then type:

  • powercfg/systempowerreport

  • powercfg/a

  • powercfg/? h

  1. CMD:

  • powercfg/batteryreport

CMD Cool Commands

  • color
  • prompt <what u want to display>$G
  • title <what u want to display>
  • telnet towel.blinkenlights.nl
  • Attrib +h +s +r <folder name> === Hide folder
  • Attrib -h -s -r <folder name> === show Hiden folder
  • | clip === copy the entire output to clipboard
  • press F7 === show history of previous commands
  • You can't create 'con' and 'aux' name folder in windows because it already reserved, but you can create by using this trick:  'md con\' and 'md aux\'
  • wmic product get name === show all installed programs


Post a Comment

0 Comments