NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
I may be wrong... (Score:1)
I read in some blog discussion or newsgroup that 'cls' is not really a callable command in Windows, it is a hack. Which is why it doesn't work.
I will try and remember the conversation...
Re:I may be wrong... (Score:1)
Or maybe I don't understand his problem...
If I run:
That clears my screen. So maybe I don't know his problem.
Reply to This
Parent
Re:I may be wrong... (Score:1)
I think this is it. 'cls' is not a program like cls.exe or cls.com but it is a command available to the CMD environment shell. Therefore, you cannot run it with `cls` because Windows doesn't know what to do with that.
You have to do something like: `cmd /c cls`