windows备忘

●设置IP和DNS
1. 设置为固定IP和DNS
netsh interface ip set address name="本地连接" source=static addr=192.168.49.55 mask=255.255.255.0 gateway=192.168.49.254 gwmetric=1
netsh interface ip add dns name="本地连接" addr=192.168.1.250
netsh interface ip add dns name="本地连接" addr=192.168.1.254
netsh interface ip set dns name="本地连接" addr=211.136.20.203

2. 设置为使用DHCP
netsh interface ip set address name="本地连接" source=dhcp
netsh interface ip set dns name="本地连接" source=dhcp

●让cmd支持utf8
进入cmd->chcp 65001->字体选为Lucida Console
要修改为原来的编码,执行chcp 936 (编码为GBK)

●删除svn文件
for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn"

●从注册表删除右键新建菜单的项
打开HK/EY_CLASSES_ROOT,找到要删除的项的后缀名,展开,删除ShellNew子项。

● win7 dell笔记本开户/关闭触板
·控制面板->鼠标->装置设定值->启用"标准定点装置"
·按win + x 键

猜你喜欢

转载自zxlaiye.iteye.com/blog/983747
今日推荐