for /f "tokens=*" %%a in ('dir /b /ad "%programdata%\Actual Tools"') do rmdir /s /q "%atdir:"=%\%%a\Updates"
if exist "%windir%\SysWOW64" set for64=" (x86)" start "%programfiles%%for64:"=%\ActualWindowManager\unins000.exe"
set config="%appdata%\Actual Tools\Actual Window Manager\UIPreferences.ini" for /f %%i in ('type "%config%"^|find /v /c ""') do set "j=%%i" <"!config!" ( for /l %%i in (1 1 0) do set /p "=" for /l %%i in (1 1 %j%) do ( set "line=" set /p "line=" if "!line!x" == "x" ( echo. ) else (echo !line:"<CurrentPath>CheckForUpdatesOptions</CurrentPath>"=!) ) )>>"new_%config%" del %config% ren new_%config% %config%
reg add "HKCU\Software\Actual Tools\Actual Window Manager" /v AutoUpdateEnabled /t REG_DWORD /d 0 /f