CLS (clear) a single line?

后端 未结 4 1010
南旧
南旧 2020-12-03 18:24

Is there any way to CLS a single line of output? I don\'t believe there are any switches for CLS, so maybe a better question would be:

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-03 19:04

    Unfortunately, there is no native command or utility that repositions your cursor in a Windows command line console.

    You will need a 3rd party utility.

    Aacini posted a free CursorPos.exe utility on DOSTips. The CurorPos.exe "source" is given as Hex digits. To use the source you will need the HexToBin.bat "compiler".

    Browse both threads and you will find a number of utilities you may find useful.

提交回复
热议问题