notes/Windows CMD tricks-aY8eFTnv.sh
#Encrypt all files in a folder

cipher /e

#create a wifi hotspot

netsh wlan set hostednetwork mode=allow ssid=tests key=tests123
netsh wlan start hostednetwork 
netsh wlan stop hostednetwork

#Hide files and folder even if show hidden folder is enabled

attrib +h +s +r <folder>
#unhide
attrib -h -s -r <folder>

#copy output to clipboard - like xclip
ipconfig | clip


#List installed programs

wmic product get name

#uninstall programs
wmic product where "name is like iTunes" call uninstall /nointeractive

#if you type "cmd" in the address bar of explorer it will open cmd in the current folder

#press F7 to list session history

syntax highlighted by Code2HTML, v. 0.9.1