开发者

How to write windows script to dial a connection

开发者 https://www.devze.com 2022-12-12 16:38 出处:网络
Is it possible to dial-up and hang-up a connection? The connection is a开发者_JS百科 PPP 3G connection in my Windows 7 system.In previous versions of Windows, I used the command Rasdial. It appears to

Is it possible to dial-up and hang-up a connection? The connection is a开发者_JS百科 PPP 3G connection in my Windows 7 system.


In previous versions of Windows, I used the command Rasdial. It appears to still be present in Windows 7.

c:> Rasdial "My PPP Connection"

To disconnect

c:> Rasdial "My PPP Connection" /disconnect

If you want more control, you can use your favorite scripting language to exercise the API.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号