Page 1 of 1

SLEEP command problem

Posted: 2022-Mar-25, 10:21 pm
by bromberg
When I enter
SLEEP 5
in my command window, I get the following error:
'sleep' is not recognized as an internal or external command,
operable program or batch file.

Yet the SS64 command shell shows that SLEEP is a valid command, isn't it?

Thanks in advance to all who reply.
Dan

Re: SLEEP command problem

Posted: 2022-Mar-26, 11:50 am
by Simon Sheppard
Sleep is a Resource Kit tool, which is given at the top of the page.

If you don't have the relevant resource kit installed it is not going to be available, but some alternatives are also listed.

Also notice that when a command is listed with its file extension Sleep.EXE rather than just Sleep, that indicates it is an external command.