Archived from groups: microsoft.public.windowsxp.general (More info?)
Any ideas how I can delay the running of some startup items? As an example,
MSN messenger runs and attempts to log in before my internet connection is
active and therefore returns an error everytime I turn on my PC.
I would have thought that theres a switch I could add after the shortcut
command.
for a general solution.
For the example you give, however, I would use something like the following
before you run messenger. Be aware it will result in an endless loop if for
some reason the connection cannot be establised (use Ctrl+C to cancel).
:Retry
for /f "eol=C tokens=*" %%i in ('rasdial') do set test=%%i
if /i "%test%"=="No connections" goto Retry
"MJ" <MJ@discussions.microsoft.com> wrote in message
news:6D844361-C9B4-4510-AB14-9CAFFB0AB998@microsoft.com...
> Any ideas how I can delay the running of some startup items? As an
> example,
> MSN messenger runs and attempts to log in before my internet connection is
> active and therefore returns an error everytime I turn on my PC.
>
> I would have thought that theres a switch I could add after the shortcut
> command.
>
> Thanks guys.
>
> Matt
>
online = false
ipaddress = ipfinder.GetIPAddress
if len(trim(ipaddress))<>0 then online = true
End Function
'**********************************************************
Jon
"MJ" <MJ@discussions.microsoft.com> wrote in message
news:6D844361-C9B4-4510-AB14-9CAFFB0AB998@microsoft.com...
> Any ideas how I can delay the running of some startup items? As an
> example,
> MSN messenger runs and attempts to log in before my internet connection is
> active and therefore returns an error everytime I turn on my PC.
>
> I would have thought that theres a switch I could add after the shortcut
> command.
>
> Thanks guys.
>
> Matt
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.