Batch: Difference between revisions

From My Mnemonic Rhyme
Jump to navigation Jump to search
>Homaar
No edit summary
 
(No difference)

Latest revision as of 07:47, 18 January 2012

http://aumha.org/a/batches.php

REM Set lck Settings
SET "lock=F:\smartcrm_addressexport.lck"
echo "%lock%"

REM Check if lck file exists
IF EXIST "%lock%" GOTO END

:EXEC
cd ..
echo "Exportiere Komplettbestand Adressen ..." > "%lock%"
echo Exportiere Komplettbestand Adressen ...
exec blabla.bat
echo Adressexport beendet !
REM Delete lck file
IF EXIST "%lock%" DEL "%lock%"

:END
echo Nothing to do here!