Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: JohnjcesPosted on 2008-11-25 at 18:26:55ID: 23039112
You are correct in that the wireless hasn't fully connected as most don't start connecting until after the user has logged on.
com/bht.ht ml
The only way I know is to add a delay in your batch file or find an executable program that will delay a command, other exe or batch file.
However there may be some hope by delaying your batch file. The following is taken off of http://www.robvanderwoude.
It may do the trick as long as your delay is long enough. There are several ways to do this. The easiest is to use a ping to a non-existent ip address.
Anyway I hope this may help you.
John
* Use CHOICE (MS-DOS 6 and later, Windows NT/2000 with Resource Kit):
REM | CHOICE /C:YN /N /T:Y,10 >NUL
will delay execution for 10 seconds in MS-DOS.
TYPE NUL | CHOICE /C:YN /N /T:Y,10 >NUL
will do the same in Windows NT/2000 with CHOICE.EXE from the Resource Kit.
* Use PING (MS-DOS with TCP/IP client, Windows 95/98/NT/2000/XP):
PING 1.1.1.1 -n 10 -w 1000 >NUL
will delay execution for 10 seconds (10 times 1000 milliseconds), if and only if 1.1.1.1 is a non-existing IP address.
* Use SLEEP or TIMEOUT (Windows NT/2000 with Resource Kit):
SLEEP 10
will delay execution for 10 seconds.
TIMEOUT 10
will wait for 10 seconds or continue when a key is pressed, whatever comes first.
* Use KiXtart's SLEEP command (KiXtart must be installed):
>%TEMP%.\SLEEP.KIX ECHO SLEEP 10
KIX32 %TEMP%.\SLEEP.KIX
DEL %TEMP%.\SLEEP.KIX
will delay execution for 10 seconds.