Done /Pn pause/prompt options with timeout?

Nov 2, 2009
302
6
Chile
www.farah.cl
I'm not sure if this would be a good addition or not, so I'll just present the idea and see how it goes.

The PAUSE command takes an optional /Wn parameter to wait (at most) n and then continue. Could the /P pause option in DIR and PDIR support an optionally specified number of seconds that would behave in the same manner?

Also, commands with /P meaning "prompt" (DEL, COPY, etc.) could be extended in the same manner, with the added behaviour that if the time limit is reached, an "N" response is assumed and work continues on.
 
May 20, 2008
12,035
127
Syracuse, NY, USA
Do you
Code:
DIR | PIPEVIEW > NUL
Otherwise, you get it in the console too. And it's a lot faster.[/code]
 

Similar threads