摘要:
//路径, 添加开机启动/删除开机启动 public static void SetAutoRun(string fileName, bool isAutoRun) { RegistryKey reg = null; try { if (!System.IO.File.Exists(fileName)) throw new Exception("该文件不存在!"); String name = fileName.Substring(fileName.LastIndexOf(@"\") + 1); reg = Registry.LocalMachine.O 阅读全文
摘要:
rasdial "宽带连接"用户名 密码rasdial "宽带连接" /disconnect 阅读全文