[abc]
Example1=rasdial abc user pass /phonebook:my.pbk
Example2=rasdial abc /d
Encoding=1
Type=1
AutoLogon=0
DialParamsUID=26372937
Guid=B87A4AB736A4604FB50D232354B2E537
BaseProtocol=1
VpnStrategy=0
ExcludedProtocols=3
LcpExtensions=1
DataEncryption=8
SwCompression=1
NegotiateMultilinkAlways=1
SkipNwcWarning=0
SkipDownLevelDialog=0
SkipDoubleDialDialog=0
DialMode=1
DialPercent=75
DialSeconds=120
HangUpPercent=10
HangUpSeconds=120
OverridePref=15
RedialAttempts=3
RedialSeconds=60
IdleDisconnectSeconds=0
RedialOnLinkFailure=0
CallbackMode=0
CustomDialDll=
CustomDialFunc=
CustomRasDialDll=
AuthenticateServer=0
ShareMsFilePrint=0
BindMsNetClient=0
SharedPhoneNumbers=1
PrerequisiteEntry=
PrerequisitePbk=
PreferredPort=COM3
PreferredDevice=Nokia 6170 USB
PreferredBps=460800
PreferredHwFlow=1
PreferredProtocol=0
PreferredCompression=1
PreferredSpeaker=0
PreviewUserPw=1
PreviewDomain=0
PreviewPhoneNumber=0
ShowDialingProgress=1
ShowMonitorIconInTaskBar=1
CustomAuthKey=-1
AuthRestrictions=632
TypicalAuth=1
IpPrioritizeRemote=0
IpHeaderCompression=1
IpAddress=0.0.0.0
IpDnsAddress=0.0.0.0
IpDns2Address=0.0.0.0
IpWinsAddress=0.0.0.0
IpWins2Address=0.0.0.0
IpAssign=1
IpNameAssign=1
IpFrameSize=0
IpDnsFlags=1
TcpWindowSize=0
IpDnsSuffix=
NETCOMPONENTS=
ms_msclient=0
ms_server=0
MEDIA=serial
Port=COM3
Device=Nokia 6170 USB
ConnectBPS=460800
DEVICE=modem
PhoneNumber=*99#
AreaCode=010
CountryCode=86
CountryID=86
UseDialingRules=0
Comment=
LastSelectedPhone=0
PromoteAlternates=0
TryNextAlternateOnFail=1
HwFlowControl=1
Protocol=0
Compression=1
Speaker=0
MdmProtocol=0
[nokia3]
Encoding=1
Type=1
AutoLogon=0
DialParamsUID=74142109
Guid=E402D3828CDEB34BBA2360891A6E09A2
BaseProtocol=1
VpnStrategy=0
ExcludedProtocols=3
LcpExtensions=1
DataEncryption=0
SwCompression=1
NegotiateMultilinkAlways=1
SkipNwcWarning=0
SkipDownLevelDialog=0
SkipDoubleDialDialog=0
DialMode=1
DialPercent=75
DialSeconds=120
HangUpPercent=10
HangUpSeconds=120
OverridePref=15
RedialAttempts=3
RedialSeconds=60
IdleDisconnectSeconds=0
RedialOnLinkFailure=0
CallbackMode=0
CustomDialDll=
CustomDialFunc=
CustomRasDialDll=
AuthenticateServer=0
ShareMsFilePrint=0
BindMsNetClient=0
SharedPhoneNumbers=0
PrerequisiteEntry=
PrerequisitePbk=
PreferredPort=COM3
PreferredDevice=Nokia 6170 USB
PreferredBps=460800
PreferredHwFlow=1
PreferredProtocol=0
PreferredCompression=1
PreferredSpeaker=0
PreviewUserPw=1
PreviewDomain=0
PreviewPhoneNumber=0
ShowDialingProgress=1
ShowMonitorIconInTaskBar=1
CustomAuthKey=-1
AuthRestrictions=632
TypicalAuth=1
IpPrioritizeRemote=1
IpHeaderCompression=1
IpAddress=0.0.0.0
IpDnsAddress=0.0.0.0
IpDns2Address=0.0.0.0
IpWinsAddress=0.0.0.0
IpWins2Address=0.0.0.0
IpAssign=1
IpNameAssign=1
IpFrameSize=1006
IpDnsFlags=1
TcpWindowSize=0
IpDnsSuffix=
NETCOMPONENTS=
ms_msclient=0
ms_server=0
MEDIA=serial
Port=COM3
Device=Nokia 6170 USB
ConnectBPS=460800
DEVICE=modem
PhoneNumber=*99#
AreaCode=
CountryCode=86
CountryID=86
UseDialingRules=0
Comment=
LastSelectedPhone=0
PromoteAlternates=0
TryNextAlternateOnFail=1
HwFlowControl=1
Protocol=0
Compression=1
Speaker=0
MdmProtocol=0
一 保存以上内容为My.pdk;
二 修改abc为相应的名称(任意),修改PhoneNumber为拨号的电话号码,修改下面的Modem的参数:
PreferredPort=COM3
PreferredDevice=Nokia 6170 USB
PreferredBps=460800
三 拨号:rasdial abc user pass /phonebook:my.pbk
其中abc为上一步修改的拨号名,user为用户名,pass为密码,my.pbk,可以用绝对路径
四 挂断:rasdial abc /d