windows - Use batch file timeout without echoing command? -
i'm new batch scripting reasonably competent programming in general. i'm calling perl script batch file , displaying result perl script in windows command window 10 seconds before exiting command window.
i'm using command
timeout /t 10 /nobreak
which printed command window after result of perl script.
is there way prevent see result of perl script , see timer counting down?
i understand can append '> nul' timeout command suppress countdown timer isn't want do. want prevent see line of code printing command window. if can't done, it's no problem, i'll live it. if can remove i'd to.
thanks in advance help!
if want avoid echoing 1 command, prefix @
:
@timeout /t 10 /nobreak
you can disable echoing @ command
echo off
normally, put
@echo off
at beginning of batch file, commands not outputed.
Comments
Post a Comment