Skip to content

Latest commit

 

History

History
91 lines (71 loc) · 1.16 KB

Windows.md

File metadata and controls

91 lines (71 loc) · 1.16 KB

Windows

Basic Commands

  • Checking users in Windows:
  net user

Directories

  • Create a new directory:
  mkdir directory_name
  • Changing directory:
  cd directory_name
  • Delete an empty directory:
  rmdir directory_name
  • Delete a directory with contents:
  rmdir /s /q directory_name
  • List contents in a directory:
  dir

Files

  • Create a new file:
   echo. > filename.txt
   type nul > filename.txt
  • Delete a file:
  del filename.txt

Networking

  • View the Wi-Fi network profiles you previously connected to:
  netsh wlan show profile 
  • View the password of a Wi-Fi network you previously connected to:
  netsh wlan show profile wifi_name key=clear

Programs

  • Open an app from the command prompt:
  start appname
  • List all installed programs:
  wmic product get name,version,installdate

VS Code

  • Opening a project in a new window:
  code projectname
  • Opening a project in a most recently used window:
  code -r projectname

  • View the PC serial number:
  wmic bios get serialnumber