Forum: Die Delphi-IDE
by Der schöne Günther,
28. Mär 2014
Exakt so etwas! Vielen Dank :thumb:
Forum: Die Delphi-IDE
by Der schöne Günther,
27. Mär 2014
Ja, meine Behelfslösung war das in eine Batch zu packen:
robocopy %1 %2 *.txt /A-:SH
if ERRORLEVEL 9 goto failure
goto success
:success
exit /b 0
Forum: Die Delphi-IDE
by Der schöne Günther,
27. Mär 2014
Ich möchte in meinem Projekt ein "Post-Build-Ereignis" haben: Ich möchte bestimmte Dateien von A nach B kopieren lassen.
Ich dachte an das Windows-Tool ROBOCOPY: robocopy c:\someDir\ c:\someOtherDir\ *.txt /Lev:3 /A-:SH (so ungefähr).
Problem: RoboCopy gibt als Returncode eine 1 für "All files were copied successfully." zurück. Der Delphi Kompilierungsvorgang bricht dann ab mit Der...