Windows Perl (icon v command line)
robrwo at gmail.com
Tue Dec 13 10:48:45 GMT 2005
On 12/12/2005 10:05 AM drkjam wrote:
> Alternatively, you could always test for the presence of the PROMPT
> environment variable. This is inherited by any app started via the cmd
> shell. I get the feeling this would also be the case for anything run
> via command.exe but you'd have to test it as I don't have access to a
> box with that rather lovely OS running on it anymore.
I'd be wary about relying on PROMPT, since someone might modify that in
their preferences to change how the command prompt looks (the result
being that GUI applications will see it).
More information about the london.pm