DanaHallenbeck
IS-IT--Management
I am trying to replace an old batch file with a vbscript application running under cscript.exe in a DOS window. My problem is that I am using menus and need a way to clear the old menu so I can print the new one. I cannot get the DOS command "CLS" to work from within the script and have pretty much scoured the internet to no avail.
I tried various iterations of "WScript.Stdout.WriteLine cls" as well as a debug-type call I found on the internet. Nothing seems to clear the current DOS window and leave the cursor at the top of the window.
Thanks for any help.
Dana Hallenbeck
I tried various iterations of "WScript.Stdout.WriteLine cls" as well as a debug-type call I found on the internet. Nothing seems to clear the current DOS window and leave the cursor at the top of the window.
Thanks for any help.
Dana Hallenbeck