Search found 12 matches
- 26 Oct 2012 10:22
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
I also need to make sure this is always running and it does not stop checking the internet signal even if the dial-up disconnect and DSL is restored. And it needs to have no user interaction. It needs to be an ongoing process. This computer runs an application that needs internet 24/7 and it has no ...
- 26 Oct 2012 09:39
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
Sorry for late answer, This message happened with me when i disabled the NIC while testing, I tried to make another one but Foxidrive code is the best, it doesn't depend on any specific error message just need one modification: under the dail label add the rasdial command @echo off :loop :: Check e...
- 26 Oct 2012 09:32
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
Boombox wrote:Does the dial connection name need to be in qoutes " " ?
In my case I renamed the connection to a single word so I don't have to use quotes
- 25 Oct 2012 12:58
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
Thanks for your help! 

- 25 Oct 2012 11:37
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
Then this should work, give it a try @echo off & Color 0c :loop :: Check every 60 seconds Ping localhost -n 60 >nul setlocal enabledelayedexpansion For /F "tokens=* delims=:" %%a in ('Ping www.google.com -n 1 -l 1 ^|Findstr /I /N /C:"Request"') Do set "out=%%a" IF ...
- 25 Oct 2012 10:56
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
you understand me wrong, we can add the connecing code under the dail label, but first test this command in your pc to see if they work or not disconnect dsl rasdial <dsl_connection_name> /disconnect connect dail-up rasdial <dail_connection_name> <user_name> <password> if they work with you we will...
- 25 Oct 2012 10:49
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
Ok that's what i have till now, @echo off & Color 0c :loop :: Check every 60 seconds Ping localhost -n 60 >nul setlocal enabledelayedexpansion For /F "tokens=* delims=:" %%a in ('Ping www.google.com -n 1 -l 1 ^|Findstr /I /N /C:"Request"') Do set "out=%%a" IF "...
- 25 Oct 2012 10:32
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
abc0502 wrote:sorry, try this now:Code: Select all
For /F "tokens=* delims=" %%a in ('Ping www.google.com -n 1 -l 1 ^|Findstr /I /N /C:"Request timed out."') Do echo %%a
try it using a batch
This is what I got:
C:\Users\reggie>echo 3:Request timed out.
3:Request timed out.
- 25 Oct 2012 10:19
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
can you run this command in your cmd and till me the number that show in the begining of the line, i'm trying to make my network show the same error but i can't For /F "tokens=* delims=" %a in ('Ping www.google.com -n 1 -l 1 ^|Findstr /I /N /C:" Request timed out."') Do echo %a ...
- 25 Oct 2012 09:38
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
abc0502 wrote:what windows do you use ? XP or 7
I use Windows 7
- 25 Oct 2012 09:21
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Re: Automatically run dial-up connection if DSL stops
C:\Users\reggie>ping www.google.com -n 1 -l 1
Pinging www.google.com [173.194.37.82] with 1 bytes of data:
Request timed out.
Ping statistics for 173.194.37.82:
Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),
Pinging www.google.com [173.194.37.82] with 1 bytes of data:
Request timed out.
Ping statistics for 173.194.37.82:
Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),
- 25 Oct 2012 08:51
- Forum: DOS Batch Forum
- Topic: Automatically run dial-up connection if DSL stops
- Replies: 24
- Views: 18329
Automatically run dial-up connection if DSL stops
Hello gentlemen, I need to setup a dial-up connection to automatically starts with no interaction with the user when the DSL stops. My computer is connected to a router, which is responsible to establish the DSL connection with the ISP. I don't use the internet connection to navigate on the web, I'm...