Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.
|
|||||||
looking for: sleep1.exe
![]() |
| Thread Tools |
|
#1
|
|||
|
|||
|
looking for: sleep1.exe
can't find even by googling.
Trying to do this: Here's how... Download a program called "sleep1.exe" from download.com or wherever. Save it in \windows\system32 . Create a batch file in \windows\system32 called "ping3.bat" with the following commands: @echo off : pingsite sleep1 3 ping -n 1 www.whatever_site_you_want.com > nul goto pingsite Create a shortcut to this batch file on your desktop, with properties: Shortcut / Run minimized. |
|
#2
|
|||
|
|||
|
Simple answer: look for sleep.exe without the 1
|
|
|
|
#3
|
||||
|
||||
|
You don't need sleep exe for that batch file to work. The same effect can be achieved by:
@echo off : pingsite ping -w 3000 -n1 123.123.123.123 ping -n 1 www.whatever_site_you_want.com > nul goto pingsite you can replace 123.123.123.123 with any nonexistent but legal IP address. BTW what is the purpose of this script? Some sort of a keepalive? Last edited by Nodsu; 05-02-2004 at 08:50 AM. |
|
#4
|
||||
|
||||
|
Yes, it's my keepalive.
It is for a cellphone connection that goes into a reduced state of responsiveness after 7 seconds of inactivity.
But your batch file is just as good as mine, if not better. There should be a space between "n" and "1". Your timeout line will work without a second ping. @echo off : pingsite ping -w 5000 -n 1 123.123.123.123 goto pingsite sleep1.exe is not the same file as sleep.exe or sleep88.exe. Strange that it doesn't even appear on webcrawler. Last edited by gospelmidi; 06-29-2004 at 02:52 PM. |



