|
|

楼主 |
发表于 2024-8-7 18:43:12
|
显示全部楼层
@echo off
echo This script cannot directly modify Microsoft Edge settings.
echo Instead, it will provide instructions and open the Edge settings page.
echo.
REM Check if Microsoft Edge is installed (this is a basic check and may need refinement)
where /q msedge.exe
if %ERRORLEVEL%==0 (
echo Microsoft Edge is installed.
echo.
echo To configure IE mode, please follow these steps:
echo 1. Open Microsoft Edge.
echo 2. Navigate to edge://settings/defaultBrowser (to ensure Edge is the default browser).
echo 3. Use Group Policy or Edge's policy file to enable IE mode and add the sites:
echo - http://zherpsrv.zhcpa.cn:8000
echo - http://docs.zhcpa.cn:8099
echo - http://audit.zhcpa.cn:5199
echo.
echo Alternatively, you can manually enable IE mode in Edge's settings.
echo.
REM Optionally, open Edge's settings page
start msedge edge://settings/defaultBrowser
) else (
echo Microsoft Edge is not installed. Please install it before configuring IE mode.
)
pause |
|