System Administration Scripting

2007年3月29日星期四

检测系统是否XP并关闭防火墙

ver find "XP" > nul
if %ERRORLEVEL% == 0 goto vxp

:vxp
netsh firewall set opmode disable
goto exit

:exit

Bookmark this post:
Ma.gnolia DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google


0 评论:

©2007 LastUpdated : 09/01/2024 10:03:43