Output line of text without line feed
Moderator: DosItHelp
Output line of text without line feed
Is there any way in DOS to output a line of text without a CR/LF (ie with overwrite)? For example I am using a countdown timer that I would like to print out on the same line "Delay 30 Seconds", "Delay 20 Seconds"...overwriting each countdown statement. Thanks.
xyratest,
An alternative is to use the TITLE for progress output. The advantage is that you can minimize the batch window and still observe the progress in the task bar, since the task bar text will always reflect the window title text.
Here are two different examples:
http://www.dostips.com/DtCodeSnippets.php#Snippets_ExitDelayed
http://www.dostips.com/DtCodeBatchFiles.php#Batch_Progress
DOS IT HELP?
An alternative is to use the TITLE for progress output. The advantage is that you can minimize the batch window and still observe the progress in the task bar, since the task bar text will always reflect the window title text.
Here are two different examples:
http://www.dostips.com/DtCodeSnippets.php#Snippets_ExitDelayed
http://www.dostips.com/DtCodeBatchFiles.php#Batch_Progress
DOS IT HELP?