del *.rar

robocopy D:\Luch\Luch_France\bin\Debug D:\da2-site_France\Luch /mir /IPG:5

rem rb D:\Luch\pda\ D:\da2-site\pda /mir /IPG:5 /XD debug

copy D:\Luch\pda_France\release\Exe\pda.hex D:\da2-site_France\hex\pda.hex /y
copy D:\Luch\anomaly_mini_France\Release\Exe\anomaly-mini.hex  D:\da2-site_France\hex\anomaly-mini.hex /y


set CURDATE=%DATE%
echo %~d2%~p2%~n1%CURDATE:~8,2%%CURDATE:~3,2%%CURDATE:~0,2%%~x1> Luch\version.txt

rar a -r -m0 -xcpy.cmd da2-%~d2%~p2%~n1%CURDATE:~8,2%%CURDATE:~3,2%%CURDATE:~0,2%%~x1_France.rar D:\da2-site_France\*.*

