NightFox

Robustcopy

Apr 23rd, 2021
618
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. cls
  3.  
  4. echo Copia lista para su inicio.
  5. echo Se actualizara el contenido DE LA UNIDAD USB!
  6. choice /C SN /N /M "Presiona S para iniciar la copia o N para salir:"
  7. if %ERRORLEVEL% equ 1 goto START_COPY
  8. if %ERRORLEVEL% equ 2 goto PRG_END
  9.  
  10. :START_COPY
  11. if not exist z:\work goto NO_DISK
  12. chkdsk z: /f
  13. robocopy c:\work z:\work /MIR /W:2 /R:1
  14. echo Copia finalizada.
  15. goto WAIT_EXIT
  16.  
  17. :NO_DISK
  18. echo Disco desconectado
  19.  
  20. :WAIT_EXIT
  21. choice /C A /N /M "Presiona A para salir:"
  22. if %ERRORLEVEL% equ 1 goto PRG_END
  23.  
  24. :PRG_END
  25. exit /B
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×