1.

Solve : sleep command?

Answer»

Hey guys

I have the following code
Code: [Select]:Loop
ECHO MODE ON
ping 127.0.0.1 >> test.txt
findstr "AVERAGE = 0ms" test.txt
echo %ERRORLEVEL% >> test.txt

IF %errorlevel% == 0 GOTO END

:HELLO
START test1.txt

:End
sleep 3000;
GOTO LOOP
The problem is when it gets to the sleep command it says it is not reconized as an internal or external command. Any ideas why?

Thanks for any help,
JohnThe sleep command is from the ressource kit.
Do you have it on your machine?

uliHi Uli.

I'm not sure, is there anyway to CHECK?

If I don't, where do I get the RESOURCE kit?

Thanksyou can get it here Code: [Select]http://www.dynawell.com/support/ResKit/download/wntsleep.aspQuote

Hi Uli.

I'm not sure, is there anyway to check?

dir /s sleep.exe
If it isn`t found, you don't have the command on your machine.

uli


Discussion

No Comment Found