Advertisement
Combreal

uninstallUbuntu.bat

Jun 2nd, 2020
1,150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.29 KB | None | 0 0
  1. @echo off
  2.  
  3. for /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{E23B0E7F-9F5F-4A6F-AC70-3C4316397126}_is1" /v QuietUninstallString`) DO (
  4.     set appdir=%%A %%B
  5.     )
  6. %appdir%
  7.  
  8. del /F /Q "%~dp0"
  9.  
  10. exit /b 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement