5440Views6Replies
cmd prompt timer command?
the -t function (timer/countdown in seconds) for my cmd prompt is not working properly, is it just me, or is there something wrong? here is the command I was trying to use:
shutdown -l -t 15
but when I hit enter, it logs off immediately. Any suggestions?
Discussions
Best Answer 9 years ago
Same here, immediate log off.
Maybe the delay is only working for shut down, not log off.
BTW: Windows XP Prof. SP3
Answer 9 years ago
I agree.
SHUTDOWN
L
Answer 9 years ago
Just tested: delay works for shut down, not for log off.
You can implement a delay with:
ping -n 16 127.0.0.1 >nul
The 16 after the -n is the the number of seconds the command waits plus one - so the example command will wait 15 seconds.
8 years ago
type the following in you CMD
shutdown -s -t xx
thats it..
Answer 8 years ago
the xx represents the number of seconds remaining after shutdown..so if you type 15. it will shutdown after 15 seconds..
9 years ago
There is no time delay for logging off, the assumption is you want to do it now and switch to another loggin. Why do you want it to delay anyway?
If you are really determined you could write a batch file but its a bit overkill.