versand.bat 402 B

1234567891011121314151617181920
  1. @call "%~dp0config.bat" 0 > nul
  2. if [%~1]==[] (
  3. echo Aufruf: call versand.bat Beispiel.xml [Benutzer|*] [Cube]
  4. goto :eof
  5. )
  6. set DATEI=%XML%\%~nx1
  7. if [%~x1]==[] (
  8. set DATEI=%XML%\%~n1.xml
  9. )
  10. call teste_verzeichnis.bat %DATEI%
  11. if errorlevel 42 exit /B 1
  12. echo == Versand "%~n1" ==
  13. %PHP%\php Tools\run.php versand %DATEI% %TASKS%\logs\%~nx1.log %2 %3
  14. echo.
  15. echo Fertiggestellt: %TIME:~0,5%
  16. echo.