win+X快捷键打开命令提示符; 输入命令:cd C:\Windows\System32\drivers\etc 再输入命令:notepad hosts,就可以编辑hosts文件了 转载于:https://www.cnblogs.com/v587zhuang/p/5955194.html