Google
      
发新话题
打印

更改IP和打印机的脚本

更改IP和打印机的脚本

REM 指定IP,DNS
%windir%\system32\netsh.exe interface ip set address 本地连接 static 9.83.70.96 255.255.255.0 9.83.70.70 1
%windir%\system32\netsh.exe interface ip set dns 本地连接 static 130.81.100.47
%windir%\system32\netsh.exe interface ip add dns 本地连接 130.81.100.48
%windir%\system32\netsh.exe interface ip add dns 本地连接 211.95.129.161
REM 动态获取IP和DNS
%windir%\system32\netsh.exe interface ip set address 本地连接 source=dhcp
%windir%\system32\netsh.exe interface ip set dns 本地连接 source=dhcp
REM 指定默认打印机
cscript c:\windows\system32\prnmngr.vbs -t -p "Fax"
cscript c:\windows\system32\prnmngr.vbs -t -p "\\9.83.70.1\HP LaserJet 5100 PCL 6"
好不容易忙完,现在总算有点时间了。不能及时回答大家的问题,还请大家多多包函。
勇于思考,敢于行动,不逃避问题。
业务联系:dvd制作,各种系统、平面广告设计、3D设计,电脑专业维修,网络组建,MTV个人像册、视频处理!
电话:13423195467

TOP

好东西

TOP

好东西

TOP

发新话题