CMD Cheatsheet
List all shared drives and folder they link to
wmic share get caption,name,path
Delete directory and its subdirectories
REM (/S removes all files and directory and parent directory itself) rmdir C:\codaxedir /S REM (/Q quiet mode, don't ask if ok to remove directory tree) rmdir c:\roxdevo /Q/S REM or (shows files as they are deleted) DEL /F /Q /S C:\codaxedir\*.*
Map a drive letter to a path
subst X: C:\codaxedir
Remove a mapped drive letter
subst /D X:
Kill running task
REM To view the list of running tasks: tasklist REM To kill a task: taskkill /f /im /codaxe.exe