摘要: 因为公司办公室要设置固定IP才行,而家里的IP段和公司是不一样的,家里采用了DHCP机制,这样每次就得改IP设置,很是不方便,就写了这个脚本来动态切换,很流畅的说!WINXP,WIN7测试通过~嘿嘿~新建"IP切换脚本.bat"文件,将下列代码复制进去,保存,并加入启动项,这样每次开机的时候选择你的位置,就可以自动切换IP了~代码很简单,如果要增加设置项,我想你看看就会明白了吧!@echo offcolor 0atitle IP切换脚本:start@echo ---------------------------------@echo 请选择你现在的位置:@echo 1.家 阅读全文
posted @ 2013-10-30 10:01 scgw 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 全国各地电信DNS服务器地址北京DNS地址:202.96.199.133 202.96.0.133 202.106.0.20 202.106.148.1 202.97.16.195上海DNS地址:202.96.199.132 202.96.199.133 202.96.209.5 202.96.209.133天津DNS地址:202.99.96.68 10.10.64.68广东DNS地址:202.96.128.143 202.96.128.68 202.96.128.110深圳DNS地址:202.96.134.133 202.96.154.8 202.96.154.15河南DNS地址:202.1 阅读全文
posted @ 2013-10-30 09:53 scgw 阅读(28235) 评论(1) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;using System.Web;namespace SynTools{public class DXHanZiToPinYin{#region 数组信息private static int[] pyValue = new int[]{ -20319, -20317, -20304, -20295, -20292, -20283, -20265, -20257, -20242,-20230, - 阅读全文
posted @ 2013-10-30 09:46 scgw 阅读(381) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace 读写ini{public class Ini{// 声明INI文件的写操作函数 WritePrivateProfileString()[System.Runtime.InteropServices.DllImport("kernel32")]private static extern long WritePrivateProfileString(string s 阅读全文
posted @ 2013-10-30 09:45 scgw 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 下面这些方法任选其一:在Windows操作系统中,任务栏(快速启动栏)中的显示桌面图标的实际位置是“C:\Windows\System\显示桌面.scf”。快速启动是通过放在“C:\Windows\Application Data\Microsoft\Internet Explorer\Quick Launch\显示桌面.scf”实现的。当显示桌面图标被误删需要恢复该图标时,可以在“C:\Windows\Application Data\Microsoft\Internet Explorer\Quick Launch\显示桌面.scf”新建一个“显示桌面.scf”文件。也可以从“C:\Wind 阅读全文
posted @ 2013-10-30 09:12 scgw 阅读(342) 评论(0) 推荐(0) 编辑