window host文件丢失 window cmd以管理员身份打开输入 for /f %P in ('dir %windir%\WinSxS\hosts /b /s') do copy %P %windir%\System32\drivers\etc & echo %P