Skip to content

Instantly share code, notes, and snippets.

@nithin69
Created February 7, 2021 08:05
Show Gist options
  • Save nithin69/464da238deae797b4363195036470040 to your computer and use it in GitHub Desktop.
Save nithin69/464da238deae797b4363195036470040 to your computer and use it in GitHub Desktop.
hacks to be used in cmd (command prompt)
help color (to find colors)
color 04 (to set color 0 for background 4 is font color)
help prompt (get prompt information)
prompt nithin@windows$G (to change cmd prompt)
title title you want (changes title of cmd)
telnet towel.blinkenlights.nl (to watch starwars movie from cmd telnet has to be configured)
Attrib +h +s +r <folder name> (to hide the folder)
Attrib -h -s -r <folder name> (to unhide the folder)
command | clip (to copy command output to clipboard)
eg: ipconfig | clip
f7 key to know history
md con\
md aux\ (these are reserved folders of windows and wndows will not allow you to create folder with these name aux or con
so you can create folders through this command)
wmic product get name (will display all installed programs in your system)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment