Windows CMD Cheatsheet

2020-04-18
 

Create Soft / Hard link #

Using ln in WSL does not create Windows capable symlinks. To do so, open CMD with administrator privilege, and use mklink command. Notice that mklink has an odd argument order.

To make soft link for directory:

mklink /D Link Target
bat

Target is the directory which already exist.

Type mklink for more information.

Checkout battery info #

powerconfig /batteryreport
bat

Checkout HTML generated at $HOME/battery_report.html

Leave your comments and reactions on GitHub