PC Review
Forums
Newsgroups
Windows XP
Windows XP Security
Login Scripts
Forums
Newsgroups
Windows XP
Windows XP Security
Login Scripts
![]() |
Login Scripts |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I have created a small script .bat file.
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 -- ========== Dan Walters |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Howdy Dan!
DanielWalters6 wrote: > 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? I've got two suggestions for you: - You could download the Windows Server 2003 Resource Kit which provides a program called "sleep". You can use it with "sleep 10" and let your clients sleep ten seconds before going on working on the batch. Bad thing about this: you'd need to deploy sleep.exe on all clients first. - You could just do something else while waiting. For example pinging a server or computer on the network: "ping <ipaddress> -n 10" would let the client ping the computer with <ipaddress> ten times which takes about ten seconds as well. cheers, Florian -- Nachwuschsadmin aus dem Süddeutschen/Germany. eMail: Vorname [bei] frickelsoft [Punkt] net. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
As I'm running a series of standalone computers connected by nothing more
than an amature's network I prefer the idea of getting it to do something else... I believe that there is a way to ECHO (I have used it with Macros in Microsoft Access) whereby you cannot see the workings in the background. So I could display the information that I needed; via ipconfig /all; then turn ECHO ON, PING TEN TIMES, EXIT. Are you aware of any ways in which you can implement/impliment** this echo into my batch file? **I'm a REALLY bad speller sorry! Hope you can help. Cheers for the warm "howdy" it restored my faith in humans! :-) DAN -- ========== Dan Walters "Florian Frommherz" wrote: > Howdy Dan! > > DanielWalters6 wrote: > > 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? > > I've got two suggestions for you: > > - You could download the Windows Server 2003 Resource Kit which provides > a program called "sleep". You can use it with "sleep 10" and let your > clients sleep ten seconds before going on working on the batch. Bad > thing about this: you'd need to deploy sleep.exe on all clients first. > > - You could just do something else while waiting. For example pinging a > server or computer on the network: "ping <ipaddress> -n 10" would let > the client ping the computer with <ipaddress> ten times which takes > about ten seconds as well. > > cheers, > > Florian > -- > Nachwuschsadmin aus dem Süddeutschen/Germany. > eMail: Vorname [bei] frickelsoft [Punkt] net. > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
DanielWalters6 wrote:
> As I'm running a series of standalone computers connected by > nothing more than an amature's network I prefer the idea of getting > it to do something else... > > I believe that there is a way to ECHO (I have used it with Macros in > Microsoft Access) whereby you cannot see the workings in the > background. > > So I could display the information that I needed; via ipconfig > /all; then turn ECHO ON, PING TEN TIMES, EXIT. > > Are you aware of any ways in which you can implement/impliment** > this echo into my batch file? > > **I'm a REALLY bad speller sorry! > > Hope you can help. > > Cheers for the warm "howdy" it restored my faith in humans! :-) 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/Ope...Q_20978849.html And I like "Howdy".. I should since I said it my entire college career. -- Shenan Stanley MS-MVP -- How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html |
|
|
|
#5 |
|
Guest
Posts: n/a
|
DanielWalters6 wrote:
> As I'm running a series of standalone computers connected by > nothing more than an amature's network I prefer the idea of getting > it to do something else... > > I believe that there is a way to ECHO (I have used it with Macros > in Microsoft Access) whereby you cannot see the workings in the > background. > > So I could display the information that I needed; via ipconfig > /all; then turn ECHO ON, PING TEN TIMES, EXIT. > > Are you aware of any ways in which you can implement/impliment** > this echo into my batch file? > > **I'm a REALLY bad speller sorry! > > Hope you can help. > > Cheers for the warm "howdy" it restored my faith in humans! :-) Shenan Stanley wrote: > 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/Ope...Q_20978849.html > > And I like "Howdy".. I should since I said it my entire college > career. 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. -- Shenan Stanley MS-MVP -- How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

