Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have a question regarding presenting my perl exe beautifully?Any ideas? Like as soon as i run my exe ,it should clear the command prompt and change the font and color to yellow.Can anyone please provide code for this?

Replies are listed 'Best First'.
Re: Opening exe with color font
by BrowserUk (Patriarch) on Apr 29, 2011 at 06:15 UTC

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

      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