I am trying to find a way to load ansi.sys in order to display a colored prompt.
The COLOR command isn't cutting it. :bg
I have modified ansi.nt and config.nt with no luck.
I am hoping there is a way, I sure miss a lot of things that DOS had.
ansi.sys is a 16-bit driver
cmd.exe is a 32-bit program
you may be able to load it by modifying a shortcut to cmd.exe, however - never tried it on an nt system :P
at any rate, create a shortcut to cmd.exe
then, right-click on the shortcut - Properties - Colors tab :U
if you want to change colors on the fly, as in a batch file...
make a little program that reads the command line and sets the console attributes using SetConsoleTextAttribute
Dave,
This works great on XP Sp3.
It even works with prompt commands and doskey macros.
http://gynvael.coldwind.pl/?id=188&lang=en
Now I am looking for a red white and blue prompt that had an american flag as well.
:P