in reply to Opening exe with color font

Type color /? into a command prompt. And then look up system.

Replies are listed 'Best First'.
Re^2: Opening exe with color font
by Anonymous Monk on Apr 29, 2011 at 06:24 UTC

    Tried the following,running into errors.What is wrong?Pls advise

    system (color e); system (cls);

      Since you didn't mention what errors you're getting I'll just guess.

      color e and clr should be wrapped in quotes, for starters. Why don't you focus on substance first, rather than worry about colors and prettiness?


      Dave

        Ya,quotes seems to be problem,substance is ready,so concentrating on prettiness :-)

        Now am running into a problem where am trying to change the title of the window on which it is run,title just changes and in blink of a second it goes back,any idea how to permanently change the title of the window on which the exe is run?

        system ("title Myperlscript.exe");