Get or set Cursor location in Windows Console.
- Download exe file.
- Copy to
C:\Program_Files\Scripts
.- Add
C:\Program_Files\Scripts
toPATH
environment variable.
> elocate [[+|-]<x>] [[+|-]<y>]
:: [] -> optional argument
:: <> -> argument value
:: get current cursor location as "<x> <y>"
> elocate
:: set cursor location to start of line
> elocate 0
:: set cursor location to top-left corner
> elocate 0 0
:: set cursor location to x=10, y=20
> elocate 10 20
:: set cursor location to x=0, y=y+10
> elocate 0 +10
:: set cursor to go back to previous line start
> elocate o -1