Copy this text or write this text in a notepad or any text editor,then save this file using a batch file extension EX-connect.bat
Note-Provide the connection name,username & password before saving.I'm sure this will definitely work
@ECHO OFF
:loop
Echo Trying to Dial your connection.........
rasdial Connectionname username password
if NOT %ERRORLEVEL% ==0 goto failed
Exit
:failed
cls
Echo Failed to connect....will retry
goto loop
Note-Provide the connection name,username & password before saving.I'm sure this will definitely work
Comments
Post a Comment
Type in your comments here,we welcome your suggestions,complaints and feedback