【正文】
:::::::: Find Gateway IP if exist del find Default Gateway for /f skip=2 tokens=13 %%G in () do set GatewayIP=%%G :::::::::::::::::::: Find Gateway Mac if exist del arp d ping n 1 %GatewayIP% arp a %GatewayIP% for /f skip=3 tokens=2 %%H in () do set GatewayMac=%%H :::::::::::::::::::: Bind Gateway IP amp。 Mac arp s %LocalIP% %LocalMac% arp s %GatewayIP% %GatewayMac% exit 良好的使用習(xí)慣 ?及時進(jìn)行系統(tǒng)補丁更新 ?每日升級病毒庫 ?郵件的附件 , 或 MSN上傳遞的文件先殺毒再打開 ?移動存儲如 U盤 , MP3, MP4等使用前先掃描病毒 ?使用網(wǎng)銀 ,股票等軟件前檢查 URL地址 ? 是否以 開頭 ? 網(wǎng)址是否完整正確 ?瀏覽網(wǎng)頁時不要隨便安裝 Active插件 ?定期對硬盤進(jìn)行全盤掃描 , 查殺病毒 ?不要輕易點擊網(wǎng)頁上及彈出窗口的中獎廣告