Append/over-write screen text WITHOUT advancing a line
Posted: 18 Jan 2010 09:22
Is there a Control code or some mechanism that is the opposite to a Line Feed ?
I have a script which tests for the existence of several hundred items (files and registry keys),
and for each item it displays one line showing its state after processing.
This occupies many screens of a DOS window.
Most of the target items are normally "ABSENT" and of no interest
I have greatly reduced the height of the display by excluding "ABSENT" items from the display.
This results in a list of items that have been found and processed so far,
and long "coffee break" intervals in which nothing seems to happen as a vast number of items are found to be "ABSENT".
Instinctively after several decades using computers I think of "nothing happening" as a dead computer needing a reboot.
I would like to display the ABSENT item and NOT advance to the next line.
I want the "ABSENT" display line to be re-used without advancing.
I am using CMD.EXE in Windows XP Home edition with SP3.
Alan
I have a script which tests for the existence of several hundred items (files and registry keys),
and for each item it displays one line showing its state after processing.
This occupies many screens of a DOS window.
Most of the target items are normally "ABSENT" and of no interest
I have greatly reduced the height of the display by excluding "ABSENT" items from the display.
This results in a list of items that have been found and processed so far,
and long "coffee break" intervals in which nothing seems to happen as a vast number of items are found to be "ABSENT".
Instinctively after several decades using computers I think of "nothing happening" as a dead computer needing a reboot.
I would like to display the ABSENT item and NOT advance to the next line.
I want the "ABSENT" display line to be re-used without advancing.
I am using CMD.EXE in Windows XP Home edition with SP3.
Alan