Windows Command Prompt
How to open a command prompt in any folder?
Just type cmd
in the address bar of the explorer:
If you hold down the Shift
key and right-click anywhere, you will be able to launch PowerShell:
How to get the hostname of the current machine?
hostname
How to create a symbolic link?
Syntax
mklink LINK_PATH TARGET_PATH
Example
mklink "C:\Program Files\nodejs" "C:\nvm\v18.16.0"
How to view the current DNS cache?
View cache
ipconfig /displaydns
Clear cache
ipconfig /flushdns
How to find all substrings in command output?
dir | findstr git
How to launch the event log?
eventvwr