1.

Solve : Disable cursor?

Answer»

XP Home SP.2

In a batch script I would like to echo a message onscreen and have nothing else showing. PAUSE > Nul leaves a blinking cursor onscreen, is there any way of disabling (and re-enabling) the cursor from within a batch script?

ThanksProbably not. There is a driver (ansi.sys) loadable thru your machine config file that can control many cursor functions, but hiding is not one of them. In addition, ansi.sys works only in the context of the MS-DOS prompt (command.exe).

You might try Google.



Just curious but why are you playing Where's Waldo with the cursor?Quote from: Sidewinder

Just curious but why are you playing Where's Waldo with the cursor?

It's just an appearance thing, I have brilliant blue background with BRIGHT white lettering and this darned cursor blinking, a real distraction.

I've already looked at ANSI.SYS and a few others without success.

Thanks for responding. I was playing around with something similar a while back. I never got it TOTALLY worked out but maybe you can tweak it in. The following opens the JPG in "Windows Picture and Fax Viewer" while the batch file waits in the background.(Picture with no cursor) The batch file waits until you close the viewer with the "X", and then continues.
Code: [Select]START "" /wait /max "Test.jpg"
If you get it working in full screen, PLEASE let me know. Thanks! Thanks llmeyer1000 - this leaves the batch script running but what I want is to have the message in the script displayed without the cursor. Even running something minimized doesn't seem to work.

If the cursor is a window I could run it Hidden in CMDOW but I don't know what name it would be...

Thanks again.


Discussion

No Comment Found