loading

how can i get the cursor position using cmd?

how can i get the cursor position using cmd?

sort by: active | newest | oldest
orksecurity7 years ago
In the old days, you were *sometimes* able to do this in a text window via ANSI escape-code sequences (the same kinds of sequences used to change text color and move the cursor). Not always. And, as I say, it works only on a text screen if it works at all.

I suspect you're trying to do something that's beyond the capabilities of the .cmd language. Might be time to learn how to program.
Fox-san48 (author)  orksecurity7 years ago
I was thinking cursor as in arrow (the one commonly mistaken as mouse by non-computer people)
Not unless you write or find a program which can be invoked from the batch file and which will leave the answer somewhere that the batch file can retrieve it from... at which point you might as well switch to a language which can talk to the GUI system directly.
lemonie7 years ago
What are you asking about? The question is really vague.

L
Jayefuu7 years ago
I don't know. But I've done it with AutoHotKey before. Very useful program.