Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 6 Posts 2 Joined 2010-04-09 12:38 16-year member UID 164153 Gender Male
Status Offline
I'm using the DOS command
dir/s>a.txt
This command can write the DIR output to A.TXT, but the DIR contents are not shown on the screen.
How can I have it display on the screen and also write to A.TXT at the same time?
Credits 6 Posts 2 Joined 2010-04-09 12:38 16-year member UID 164153 Gender Male
Status Offline
Not that kind of function. What I want is to display it while writing it to the file at the same time. Yours displays it only after it finishes writing.