historical/windowsbetterify.git/uninstall-edge.bat
2024-01-16 11:20:27 -06:00

6 lines
243 B
Batchfile

set "mydir=%PROGRAMFILES(X86)%\Microsoft\Edge\Application"
FOR /d %%a IN ("%mydir%\*") DO SET "myfolder=%%~nxa"&GOTO found
:found
"%mydir%/%myfolder%/Installer/setup.exe" --uninstall --system-level --verbose-logging --force-uninstall