Re: CLS & Win2k
| From: | Justin Clift | Date: | Tue, 17 Aug 2004 00:47:30 +0000 |
| Subject: | Re: CLS & Win2k | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4967@lists.php.net to get a copy of this message | ||
Michael Haszprunar wrote:
<snip>
My question is: How can I clear the screen? The DOS command was CLS so I tried system('CLS') but this way only a special character is printed and the screen remains. Also the system('clear') command, which seems to work for *NIX doesn't work for Win2k. Please, does anyone have a clue how I can do this?Hmm.... when you did 'CLS', perhaps you should have done something like: command.com cls (or similar) to invoke the command interpreter, which I think is what the cls command is built into? The only other thing I can think of would be to use a bunch of linefeeds to scroll the screen up. But that would probably leave the cursor at the screen bottom. Haven't really played with this side of things, but they're thoughts that may be useful. Regards and best wishes, Justin Clift
Many thx,Michael H.