> dir
> cd
> md / rd
> copy / xcopy
> cls # Clears all information and returning to a blank window.
> tasklist
> taskkill /f /im Skype.exe
> logoff # To sign out of your account.
> shutdown -s # Shut down the system instantly.
> shutdown -s -t 36 # Would set a timer for windows to shut down after 3600 seconds.
> shutdown /r /m \\cloud-3ga3if09g /t 90
cipher
> format d:/P:3 # Zero every sector on the volume and overwritten 3 times using a different random number each time.
> cipher /w:d:\ # overwrites deleted data on "D" volume using the Cipher security tool.
> cipher /w:e:\download # overwrites deleted data on "E" volume "download" directory using the Cipher security tool.
> cipher /E \download # Encrypts the specified files or directories.
> cipher /E demo.txt
> cipher \download # displays the encryption state of the current directory and any files it contains.
> cipher /D \download # Decrypts the specified files or directories.
> cipher /D demo.txt
Local Group Policy Editor
> gpedit.msc
> gpupdate /force
Query port usage
> netstat -aon | findstr 2000 # Find the process occupied by the corresponding port and find the PID number of the process.
> tasklist | findstr 10232 # Find the corresponding program name according to the PID number.
> taskkill -f -t -im syncthing.exe # Kill the process.
Restart the Windows Explorer.exe Process and Rebuild Icon Cache
> taskkill /IM explorer.exe /F
> ie4uinit.exe -show
> del "%localAppData%\IconCache.db" /a
> del "%localAppData%\Microsoft\Windows\Explorer" /q /f
> start "" "C:\Windows\explorer.exe"
> exit
Notes
> ipconfig
> ping
> tracert
> nslookup
> netstat
> arp
> route
> attrib
> chkdsk
> diskpart
> del
> format
> sfc
> systeminfo
> wmic
> drivequery
> echo
> for
> pause
> call