http://qs321.pair.com?node_id=902300


in reply to Re^2: Changing the title of the command window on which the perl exe is run
in thread Changing the title of the command window on which the perl exe is run

Have a look at Term::Title - Portable API to set the terminal titlebar or Win32::Console - Win32 Console and Character Mode Functions.