mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-27 18:33:19 +01:00
30 lines
414 B
Batchfile
30 lines
414 B
Batchfile
|
@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
|