Hi, I have several batch files I use to connect to remote servers. They work, but don't always connect. I will get a 'site not found error'. After asking around, it seems that timeout could be the issue because traffic can get pretty heavy at times.
I would like to increase the timeout setting and see if this solves the problem. I thought the Ping command might do this but I am not sure.
This is what I have tried:
echo off
net use S: /delete
ping 1xx.xx.xx.3 -w 2000, -n 1 'just added this
net use S: \\1xx.xx.xx.3\share 8215pass /user:startup
echo on
Any help with this would be appreciated....been having a tough time with this.
Thanks, Dan
I would like to increase the timeout setting and see if this solves the problem. I thought the Ping command might do this but I am not sure.
This is what I have tried:
echo off
net use S: /delete
ping 1xx.xx.xx.3 -w 2000, -n 1 'just added this
net use S: \\1xx.xx.xx.3\share 8215pass /user:startup
echo on
Any help with this would be appreciated....been having a tough time with this.
Thanks, Dan