Windows Bat小程序

不定期更新:

2016年12月6日

3.清除IP地址

echo off
  cls
  title 清除IP设置
  echo 正在清除IP地址,请稍候……
  netsh interface ip set address name="本地连接" source=dhcp 
  echo 正在清除DNS设置,请稍候……
  netsh interface ip set dns name="本地连接" source=dhcp 
  echo 删除IP设置,设置为自动。
  echo            ***************    恭喜你,命令成功完成!*************
  pause



2.设置IP地址

echo off
  cls
  title 设置IP
  echo 正在设置IP地址,请稍候……
  netsh interface ip set address "本地连接" static 192.168.16.113 255.255.255.0 192.168.16.254 1
  echo 正在更改DNS设置,请稍候……
  netsh interface ip set dns "本地连接" static 202.96.134.133 primary 
  netsh interface ip add dns name = "本地连接" addr=202.96.128.86
  echo                       ******恭喜你,修改完成!******
  pause 


2016年12月5日

1.chm文件转txt 

hh -decompile d:\test\help 123.chm
d:\test\help为目标路径

123.chm为源文件

bat文件放在和123.chm通过一个目录下

posted @ 2016-12-05 22:52  肥宝游戏  阅读(598)  评论(0编辑  收藏  举报