Batch File to Change Screen Colours

  bobfair 23:51 20 May 2004
Locked

Can anyone suggest how to write a batch file for a programme needing 256 colours in order to run, and then revert back to 32-bit colour when the program ends? I am running 98SE and 2000. I know I have seen this written up before, but I cannot find how to do it anywhere, nor the commands to switch back and forth between 256 colours and other colour settings. Many thanks in advance.

  Eric10 09:00 21 May 2004

I think you use the MODE command and must also have ANSI.SYS loaded from your config.sys file for it to work. In Windows 98 ANSI.SYS is in the Windows\Command folder so the line to load this would read: DEVICE=C:\WINDOWS\COMMAND\ANSI.SYS (assuming Win98 is on your C drive). The following link shows the syntax for using the MODE command click here. I've never actually used it myself so I can't really tell you anything from experience but you can investigate other pages of the site from the links on the page.

  bobfair 22:54 24 May 2004

Hi, I am still looking for a way to change screen colours via a batch file. Can anyone suggest how to write a batch file for a programme needing 256 colours in order to run, and then revert back to 32-bit colour when the program ends? I am running 98SE and 2000. I know I have seen this written up before, but I cannot find how to do it anywhere, nor the commands to switch back and forth between 256 colours and other colour settings. Many thanks in advance.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Fujitsu Lifebook P727 laptop review

11 best portfolio websites for designers and artists

Office for Mac buying guide: Price, Office 2017 rumours & new features

Comment désactiver les programmes qui s'exécutent au démarrage de Windows 10 ?