Automating the dial-up logon process by using Windows scripting

As an alternative to using the Switch.inf file, you can also use the Windows 95 scripting language to automate the logon process for dial-up connections.

Many Internet service providers (ISPs) and online services require you to manually enter information, such as your user name and password, to establish a connection. With scripting support for Network Connections, you can write a script to automate this process.

A script is a text file that contains a series of commands, parameters, and expressions required by your ISP or online service to establish the connection and use the service. You can use any text editor, such as Microsoft Notepad, to create a script file. Once you create the script file, you can then assign it to a specific connection.

The following sample scripts are located in systemroot\System32\Ras.

FileDescription

Cis.scp

How to establish a PPP connection with Compuserve.

Pppmenu.scp

How to establish a PPP connection with a host that uses a menu system.

Slip.scp

How to establish a SLIP connection with a host.

Slipmenu.scp

How to establish a SLIP connection with a host that uses a menu system.

For information about activating a script, see To activate a logon script

For more information about using the Windows 95 scripting language, see the following:

Basic structure of a script 

Variables 

System variables 

String literals 

Expressions 

Comments 

Keywords 

Commands 

Reserved words 



© 2016 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies