第一行代码标识 取消host的只读属性
第二行写入
attrib -R C:\WINDOWS\system32\drivers\etc\hosts
@echo 127.0.0.1 baidu.com >>C:\WINDOWS\system32\drivers\etc\hosts
第一行代码标识 取消host的只读属性
第二行写入
attrib -R C:\WINDOWS\system32\drivers\etc\hosts
@echo 127.0.0.1 baidu.com >>C:\WINDOWS\system32\drivers\etc\hosts
《用CMD或者bat修改host文件.doc》
下载本文的Word格式文档,以方便收藏与打印。