|
Sujet : temporisation dans un batch sous dos |
| xolth |
goran a écrit :
Oui tu fais
waitfor -t 60 cls
et ça attend 60 secondes avant d'effacer l'écran par exemple.
|
Non, pas tout à fait:
waitfor [-t <timeout>] [-s] <signal name>
Wait until the 'signal' is given across the net.
Parameters:
-t timeout Number of seconds to wait. Default is forever.
-s Send signal instead of waiting.
Only one 'waitfor' can wait on a given signal on a given machine.
-->
waitfor -t 60 peu_importe
cls |