bardugu Posted August 8, 2004 Share Posted August 8, 2004 hey all, once again a stupid problem ..thie is the code :net use o: /delete /yesping 1.1.1.1 -n 1 -w 10000 > nulnet use o: \\srv\RIS\Applications /user:guest@domain.locecho Done,EXITthe 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 .. Link to comment Share on other sites More sharing options...
bardugu Posted August 9, 2004 Author Share Posted August 9, 2004 please help,maybe someone here know a better way to create a pause ?this is really the only thing keeping my cd from perfectionthanks Link to comment Share on other sites More sharing options...
sleepnmojo Posted August 9, 2004 Share Posted August 9, 2004 try pinging 127.0.0.1also increase the number of pings, its not skipping it, just going really fast. change 1 to 10000 Link to comment Share on other sites More sharing options...
Craz1 Posted August 9, 2004 Share Posted August 9, 2004 try pinging 127.0.0.1also increase the number of pings, its not skipping it, just going really fast. change 1 to 10000send 10,000 pings? he'd be there all weeksomething more appropiate maybe 3-4ping -n 3 -w 10000 IP_ADDR > NULas 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.lognet view >>net.lognet statistics workstation >>net.lognet config workstation >>net.logthen have a quick look @ net.log Link to comment Share on other sites More sharing options...
Craz1 Posted August 9, 2004 Share Posted August 9, 2004 please help,maybe someone here know a better way to create a pause ?this is really the only thing keeping my cd from perfectionthanksif you are only trying to create a pause ... why not use the sleep command?http://unattended.msfn.org/files/sleep.zip Usage:start /wait sleep.exe 30(the above syntax will halt your batch file for 30 seconds) Link to comment Share on other sites More sharing options...
prathapml Posted August 9, 2004 Share Posted August 9, 2004 i hate computersThat was your topic's title?@barduguPlease 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now