It is therefore not recommended for hiding passwords etc., unless you use cursor positioning and then K to wipe the password from the screen completely, immediately after inputting it. (2) Text made invisible on screen with 8m will still be visible on screen prints. Other text attributes: 0m Reset all previous text attributes 1m Bold or bright text 2m Bold off (not reliable use 0m instead) 4m Underlined (monochrome) or blue 5m Blinking text or bright background 7m Reversed text 8m Invisible text (Invisible text) Notes: (1) DOS will display blinking text with 5m, OS/2 windows will give a bright background, and OS/2 Full screen will start with a bright background but will switch to blinking text as soon as it loses focus. Don't be fooled by the title, this works in older Windows versions too. Text color: # Color Normal foreground Bold foreground Background 0 Black 30m 1 30m 40m 1 Red 31m 1 31m 41m 2 Green 32m 1 32m 42m 3 Yellow 33m 1 33m 43m 4 Blue 34m 1 34m 44m 5 Magenta 35m 1 35m 45m 6 Cyan 36m 1 36m 46m 7 White 37m 1 37m 47m Notes: (1) Use the command or to set the default text colors in NT command line sessions (2) Learn how to change the looks of your command prompt by reading Microsoft's article: '. For strings some extra ANSI sequeunces are available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |