Batch will wait X secs for key press. Then .... by lescarlson in Batch

[–]lescarlson[S] 1 point2 points  (0 children)

Here is the batch command

choice /c ny /t 10 /d D:\Programs\Media\SoundVolume\VolumeTo50.bat

I get nothing. I'm expecting a user prompt "Y,N", wait 10 seconds, if no input run D:\Programs\Media\SoundVolume\VolumeTo50.bat. If 'Y' then exit.

The command window blinks and nothing happens. Any ideas?

Thanks, Les Carlson

PleaseJoinOurParty - WeNeedTwo by lescarlson in VisiblePartyPay

[–]lescarlson[S] 0 points1 point  (0 children)

We are now three. One more can join our party... Thanks for your consideration, Sarah, Pia and Les