add host bat
::Author > mdt jindahao ::Data > 2014.04.29 @echo off title 添加记录到HOST--------Powerd by LoveQishi echo. echo 添加记录到HOST echo. echo. attrib "%windir%\System32\Drivers\etc\hosts" -s -h -r >>"%windir%\System32\Drivers\etc\hosts" ECHO. echo\ 192.168.30.75 spfornt >> %windir%\system32\drivers\etc\hosts attrib "%windir%\System32\Drivers\etc\hosts" +s +h cls echo\添加成功. pause