@echo off set hostfile=C:\Windows\System32\drivers\etc\hosts set hostline=108.177.97.100 translate.googleapis.com

findstr /i "%hostline%" "%hostfile%" >nul if %errorlevel%==0 ( echo Hosts file already contains the specified line. ) else ( echo %hostline% >>"%hostfile%" echo Hosts file updated successfully. )

pause

修改windows系统中的host文件有就修改为 10817797100 translategoogleapiscom 没有就添加一条的bat脚本

原文地址: https://www.cveoy.top/t/topic/EJL 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录