hey all, once again a stupid problem ..
thie is the code :
net use o: /delete /yes
ping 1.1.1.1 -n 1 -w 10000 > nul
net use o: \\srv\RIS\Applications /user:guest@domain.loc
echo Done,
EXIT
the ping thing wount work, it skips to the next line immidiatly, which causes the next map to fail ..
i must have it on the same user .. anyone has an idea why the ping isnt working ?
please save me ..
Page 1 of 1
i hate computers
#2
Posted 09 August 2004 - 05:27 AM
please help,
maybe someone here know a better way to create a pause ?
this is really the only thing keeping my cd from perfection
thanks
maybe someone here know a better way to create a pause ?
this is really the only thing keeping my cd from perfection
thanks
#3
Posted 09 August 2004 - 07:44 AM
try pinging 127.0.0.1
also increase the number of pings, its not skipping it, just going really fast. change 1 to 10000
also increase the number of pings, its not skipping it, just going really fast. change 1 to 10000
#4
Posted 09 August 2004 - 09:17 AM
sleepnmojo, on Aug 9 2004, 11:14 AM, said:
try pinging 127.0.0.1
also increase the number of pings, its not skipping it, just going really fast. change 1 to 10000
also increase the number of pings, its not skipping it, just going really fast. change 1 to 10000
send 10,000 pings? he'd be there all week
something more appropiate maybe 3-4
ping -n 3 -w 10000 IP_ADDR > NUL
as for the ip to ping, are you sure you are actually able to ping the ip address from the machine at the time this script is running??
try logging by running this just before you run the ping:
ipconfig /all >net.log
net view >>net.log
net statistics workstation >>net.log
net config workstation >>net.log
then have a quick look @ net.log
#5
Posted 09 August 2004 - 09:26 AM
bardugu, on Aug 9 2004, 08:57 AM, said:
please help,
maybe someone here know a better way to create a pause ?
this is really the only thing keeping my cd from perfection
thanks
maybe someone here know a better way to create a pause ?
this is really the only thing keeping my cd from perfection
thanks
if you are only trying to create a pause ... why not use the sleep command?
http://unattended.ms...files/sleep.zip
Usage:
start /wait sleep.exe 30
(the above syntax will halt your batch file for 30 seconds)
#6
Posted 09 August 2004 - 10:06 AM
Quote
i hate computers
@bardugu
Please use more descriptive titles, otherwise, neither will you get someone who knows what to do to stumble past your thread, nor are you making it easy for searching in future.
- ← Problem with FPSE
- Unattended Windows 2000/XP/2003
- getting a "new devices have installed" message →
Share this topic:
Page 1 of 1



Help
Back to top









