pf100

temp

Jun 16th, 2018
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. So:
  2. set "winver=ver"
  3. FOR /F "tokens=*" %%i IN (' %winver% ') DO SET X=%%i
  4. IF %X:~27,1% EQU 6 (
  5. (if exist "%~dp0wub.exe" (del "%~dp0wub.exe-backup" /f /q) else (ren "%~dp0wub.exe-backup" wub.exe)) >nul 2>&1)
  6. call "%~dp0Install wub_task.cmd"
  7. goto :StartWUMT
  8. )
Advertisement
Add Comment
Please, Sign In to add comment