Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Clearing the DOS screen?

4 views
Skip to first unread message

Timmah

unread,
Jun 30, 2003, 4:52:40 PM6/30/03
to
I have a Visual Basic menu script that I am trying to get to clear the
dos screen it is running in. Basically, you select an option from the
menu, and after the processing is complete, a "press enter to
continue" comes up. When enter is pressed I'd like the DOS screen the
script is running in to clear (and the menu to be displayed again).
Is there any way to do this? I've tried many different things, but I
seem to have trouble actually accessing the cmd process my script is
running in, it always seems to spawn a new process.

Thanks in advance for any help you might provide!

Michael Warner

unread,
Mar 28, 2005, 7:14:52 PM3/28/05
to
if I understand your question correctly, this answer should be of help
to you.

Something you *could* try is incorporating the CLS command into the code
when you actually want to return to the menu.

0 new messages