A customized color command prompt :
Windows command prompt unlike linux bash terminal does not supports color prompt by default to get this feature on windows one can either use third party console emulator like ConEmu or install ANSI escape sequences. You can use third party console emulators but I like windows default command prompt program for so many reasons like some tools do not work in console emulators.
Lets get started and setup our Terminal tool kit with a color command prompt and ASCII Art Logo.
First of create a new folder for Terminal tools Repository on your computer in D: drive name it Terminal this folder will be collection of tools and scripts we add the tools time to time in this folder.
[*] Install ANSI escape sequences
1- Download source code of ANSICON from https://github.com/adoxa/ansicon and compile it yourself or get a binary version from this link http://www.mediafire.com/download/uq84ohlfztibxo8/ansi153.zip
2- Extract ansi153.zip to D:\Terminal
3- Go into x86 directory and drag ansicon.exe into command prompt window and type -i with a space character before it. then hit enter this will install ANSICON ANSI escape sequences.
or navigate to x86 directory via command prompt as in image bellow
To verify ANSICON install type following command in command prompt
type "D:\Terminal\ansi153\ANSI Prompt Colours.txt"
this should print the colors with their scape sequence codes.
[*] Custom command prompt with ASCII art logo
1- For ASCII art logo goto patorjk.com/software/taag/
2- Generate your logo and copy it make a new text file terminal.txt in D:\Terminal directory and paste the copied logo in terminal.txt file
1- Open a text editor i.e notepad (I use notepad++) type following code into a new file
@echo off
set TERMINAL=D:\Terminal
title [TerminaL]
type %Terminal%\terminal.txt
cmd /k prompt $e[1;33;40m[$n:]Terminal #:$e[0;37;40m
2 - Save file as terminal.cmd in C:\Windows\System32 directory.
You can download Terminal.cmd and Terminal.txt files here https://www.mediafire.com/?d91agfmnfdbbwvo
Windows command prompt unlike linux bash terminal does not supports color prompt by default to get this feature on windows one can either use third party console emulator like ConEmu or install ANSI escape sequences. You can use third party console emulators but I like windows default command prompt program for so many reasons like some tools do not work in console emulators.
Lets get started and setup our Terminal tool kit with a color command prompt and ASCII Art Logo.
First of create a new folder for Terminal tools Repository on your computer in D: drive name it Terminal this folder will be collection of tools and scripts we add the tools time to time in this folder.
[*] Install ANSI escape sequences
1- Download source code of ANSICON from https://github.com/adoxa/ansicon and compile it yourself or get a binary version from this link http://www.mediafire.com/download/uq84ohlfztibxo8/ansi153.zip
2- Extract ansi153.zip to D:\Terminal
3- Go into x86 directory and drag ansicon.exe into command prompt window and type -i with a space character before it. then hit enter this will install ANSICON ANSI escape sequences.
To verify ANSICON install type following command in command prompt
type "D:\Terminal\ansi153\ANSI Prompt Colours.txt"
this should print the colors with their scape sequence codes.
[*] Custom command prompt with ASCII art logo
1- For ASCII art logo goto patorjk.com/software/taag/
2- Generate your logo and copy it make a new text file terminal.txt in D:\Terminal directory and paste the copied logo in terminal.txt file
1- Open a text editor i.e notepad (I use notepad++) type following code into a new file
@echo off
set TERMINAL=D:\Terminal
title [TerminaL]
type %Terminal%\terminal.txt
cmd /k prompt $e[1;33;40m[$n:]Terminal #:$e[0;37;40m
2 - Save file as terminal.cmd in C:\Windows\System32 directory.
You can download Terminal.cmd and Terminal.txt files here https://www.mediafire.com/?d91agfmnfdbbwvo