home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / col_dos.zip / COLOR.DOC next >
Text File  |  1996-06-01  |  3KB  |  52 lines

  1.  
  2.                            Color.exe 3.0 (C) 1996
  3.  
  4. Color.exe can change the default background and foreground of command-line DOS
  5. and such types of utilities such as PkZip, Mem/C, Debug, etc. It' easy to use.
  6. You just type Color. If you make some kind of error, it simply returns you to
  7. the first prompt, for background. This program is not a TSR (whew).
  8.  
  9. For these programs to work, you can't run an ANSI device driver of any kind.
  10. Check the boot file Config.Sys for a line such as  Device = Ansi.Sys, etc.
  11. Remove it if you can. (Well, here we go; I always found my computer to run 
  12. faster without an Ansi driver anyway, really really really).....
  13.  
  14. If you run another menu-driven type of program such as Q_Edit, though, (a word
  15. processor) it will destroy the colors you have chosen for DOS. That's so that
  16. this program can avoid being one of those "pop-up" TSRs, using memory. It's
  17. not a TSR, but you still have control of the colors of DOS, if you put Color 
  18. in a batch file with command-line parameters. Try something like this:
  19.  
  20. Color 1 15      (bright-white on blue background)
  21. Color ?         (gives you the help screen)  
  22.  
  23. The program takes two parameters, with only spaces for separators. To see the
  24. instructions, just Enter  Color ?  or make an error in the parameters.
  25.  
  26. Background comes first; 0 thru 7, then foreground; 0 thru 15. First, you can
  27. use the menu-driven part (no parameters) and learn the colors and feel of it.  
  28. Then you can pick out extra pretty colors. Then, remember the two numbers for
  29. use on the command-line and quickly change colors. This is handy in your batch
  30. files for return from any program to DOS, in your choice of colors. You modify
  31. the two numbers to a combination you thought was especially pretty! This is
  32. handy in batch files which you use to access your programs (your colors are
  33. destroyed). Now, put Color (with parameters) just before the end of the batch 
  34. file (your colors are restored to whatever you want, upon return to DOS). This 
  35. means my program doesn't need to be a TSR (it isn't), saving you memory. 
  36.  
  37. You can also run Color from Windows in this manner; (I use 3.1, you '95 users,
  38. try to go along): Make a batch file in the Windows directory, make the first 
  39. line Color B F (again, your choices on color numbers, not B F). Then the next
  40. line should say C:\Command.Com or whatever & wherever you keep your command 
  41. interpreter. Save the batch file. Then, go into Windows, open the .Pif editor, 
  42. and open Dosprmpt.Pif. Make the 'command line' part call your batch file, not
  43. Command.Com, put the .Bat extension too. Save the .Pif file and you're ready 
  44. for color DOS prompt sessions in Windows.
  45. ------------------------------------------------------------------------------
  46.  
  47.                   Remember, ShareWare is work... send $2.00
  48.  
  49. Duane Bailey                                                 "Mission Control"
  50. 1617 S. Main St
  51. Winston-Salem, NC 27127
  52.