This article is from the Windows NT Internet FAQ, by sscoggin@enet.net (Steve Scoggins) with numerous contributions by others.
I wrote two batch files for using rasdial and it worked great!
The first rasdial batch file is for initiating the connection.
I then added to icons one for calling the startnet.bat and one
for calling the stopnet.bat, you can use the open door icon for
startnet and the close door icon for stopnet. Place these batch
files in the winnt directory so they are in the Win NT path.
Type path at the command prompt for path details. You can get
the command line options for rasdial by typing
rasdial /help
The startnet.bat file contains one line as follows:
rasdial evergreen
and the stopnet.bat file contains one line as follows:
rasdial evergreen /DISCONNECT
 
Continue to: