rem -- #New: 16.11.2023/J.Fes Copys File from source to target
rem -- #Lup: 07.12.2023/J.Fes set robocopy Para %CopyOpt% to end of command
rem -- #Lup: 04.01.2024/J.Fes Debug Info optimiced
rem -- #Lup: 22.01.2024/J.Fes check now if target dir exists after create
rem -- #Lup: 08.11.2025/J.Fes add ...
rem -- #Doc: Non exsiting Target Directory will be created
rem -- #Doc: Call CopyFromTo.cmd "P1=description"   "P2=%Source_DP%"  "P3=%Source_NE%"  "P4=%Target_DP%"   "P5=%Target_NE%"  "P6=Optional Option"
rem -- #Doc: if P7 = "PrintNo" then no output is printed
rem -- #Doc: if P7 = "PrintMin" One Line is printed

REM  @Echo off

REM If "%~1" neq "" goto :begin
REM setlocal
REM  set CmdCurRoot_DP=%~dp0
REM  set CmdCurRoot_DP=%CmdCurRoot_DP:~0,-1%
REM  Set F1=%CmdCurRoot_DP%\Test1.txt
REM  Set F2=%CmdCurRoot_DP%\Test2.txt
REM  Set F3=%CmdCurRoot_DP%\Test3.txt
REM REM  Echo Source Test1 %F1% %date% %time% >"%F1%"
REM REM  Echo Source Test2 %F2% %date% %time% >"%F2%"
REM REM  set toRun=copy /y "%F1%" +"%F2%" "%F3%"
REM REM  echo %toRun%
REM REM  call %toRun%
REM REM  pause
REM REM  exit
REM
REM set JobMgr_Debug=ON
REM call "%0" "#Debug1" "%CmdCurRoot_DP%\Test1.txt" "" "%temp%"
REM Echo CopyFromTo_r:%CopyFromTo_r%
REM REM call "%0" "#Debug2" "%CmdCurRoot_DP%" "Test1.txt" "%temp%" "Test2.txt"
REM REM Echo CopyFromTo_r:%CopyFromTo_r%
REM pause
REM exit
REM endlocal
