nphxboxlive

update.bat

Mar 29th, 2021 (edited)
1,038
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.25 KB | None | 0 0
  1. @echo Update in progress...
  2. @echo off
  3. set newexe=%1
  4. set oldexe=%2
  5. set appexe=%3
  6. timeout -t 3
  7. echo new: %newexe%
  8. echo old: %oldexe%
  9. echo appexe: %appexe%
  10. PAUSE
  11. taskkill /IM %appexe% /F
  12. PAUSE
  13. xcopy %newexe% %oldexe% /P /V /W /F /H /O /-Y
  14. PAUSE
Add Comment
Please, Sign In to add comment