Original project address: https://github.com/ZeroSimple/MicrosoftHostsPicker
requires Python to be installed in the system
first step
Run the following code via Windows PowerShell to download the ping3 toolkit
pip install ping3
Step 2: Run the script
Script download link : https://www.aliyundrive.com/s/B3ccvtNekp6
Then use Python to run MicrosoftHostsPicker.py as
shown in the figure:
third step
Open this computer to copy the path:
%WinDir%\System32\Drivers\Etc
and then operate as shown in the figure
The fourth step is to wait for the code to run to completion
The operation is as shown in the figure below (PS: the operation is a very slow process, please wait patiently)