Login Script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a small script .bat file. That runs on startup.

It basically consists of:

ipconfig /renew
ipconfig /all
*******
use x: \\COMPUTERNAME\SHARENAME /persistent:no

I would like to replace the *'s with a DELAY of ten seconds. Does anyone
know how to do this?

TIA

DAN
 
DanielWalters6 said:
I have created a small script .bat file. That runs on startup.

It basically consists of:

ipconfig /renew
ipconfig /all
*******
use x: \\COMPUTERNAME\SHARENAME /persistent:no

I would like to replace the *'s with a DELAY of ten seconds. Does
anyone know how to do this?

Multi-posted?
Please - in the future - cross-post if you feel the necessity.

As you put in another post you didn't want to use "sleep"..

http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20978849.html
 
DanielWalters6 said:
I have created a small script .bat file. That runs on startup.

It basically consists of:

ipconfig /renew
ipconfig /all
*******
use x: \\COMPUTERNAME\SHARENAME /persistent:no

I would like to replace the *'s with a DELAY of ten seconds. Does
anyone know how to do this?

Shenan said:
Multi-posted?
Please - in the future - cross-post if you feel the necessity.

As you put in another post you didn't want to use "sleep"..

http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20978849.html

And open the link in Internet Explorer..
Firefox doesn't seem to just allow you to scroll down to the answer.
Weird. Never noticed it before.
 
Actually seconds equals ping count minus one so
for ten seconds you want

ping -n 11 127.0.0.1 >NUL
 
Bob:

Darn it!!. Thanks for catching it.

Reminds me of the time I volunteered to drive my boss to a hotel, got
confused with the driveways, and dropped him off next store. Boss said "darn
it Frank, what's wrong with you, you're always ONE OFF" :-)

Frank
 
Back
Top