Page 1 of 1

Echo string from command as it updates in real-time

Posted: 04 Sep 2011 20:41
by alleypuppy
Hello,

I want to echo a string from a command as it updates in real-time. For instance, I want to echo the progress of diskpart.exe in a batch file without showing all of the other stuff. Is this possible?

Thanks for any input.

Re: Echo string from command as it updates in real-time

Posted: 05 Sep 2011 00:44
by Ed Dyreen

Re: Echo string from command as it updates in real-time

Posted: 05 Sep 2011 11:31
by alleypuppy
I like this program, however, I don't like how it repeats the process in order for the progress to refresh. I need the progress to update with the progress of the process being executed, not after the process is completed and then executing it again until the bar reaches 100%.

Re: Echo string from command as it updates in real-time

Posted: 05 Sep 2011 11:58
by Ed Dyreen
'
If Dispart doesn't show a progress bar itself then you won't be able to show one.
How would DOS know about progress ? You can only show progress in between diskpart scripts.