如何修改hosts文件 点击键盘Windows + x选择 Windows PowerShell(管理员)输入 notepad弹出记事本点击记事本上方的文件—>打开选择路径,并且设置类型为 “所有文件”(默认为文本文档)修改后,保存