PowerShell/Scripts/Robocopy.bat

30 lines
414 B
Batchfile
Raw Normal View History

2020-11-20 20:08:11 +01:00
@echo off
set SOURCE=D:
set DESTINATION=Z:
set OPTIONS=/MIR /FFT /MT
title ROBOCOPY
echo ROBOCOPY
echo ========
echo.
echo From: %SOURCE%
echo.
echo To: %DESTINATION%
echo.
echo Options: %OPTIONS%
echo.
echo.
echo.
echo.
echo NOTE: Data at destination will be overwritten! Are you sure?
echo.
pause
robocopy %SOURCE% %DESTINATION% %OPTIONS%
echo DONE.
echo.
pause
exit 0