start %SystemRoot%\Media\tada.wav
@echo off
if not exist "%HOMEDRIVE%%HOMEPATH%\Desktop\beispiel.txt" goto tonan
if exist "%HOMEDRIVE%%HOMEPATH%\Desktop\beispiel.txt" goto tonaus
:tonan
start %SystemRoot%\Media\tada.wav
echo.
echo Tada ist zu hören, Datei ist da.
echo.
goto ende
:tonaus
echo.
echo Nichts zu hören, Datei gibts nicht.
echo.
:ende
Pause
Wie kann die Ausführung einer Batchdatei unterbrochen werden?
chris25x0 12.05.2007 - 137 Hits - 1 Antwort
Nachkommastelle bei batchdatei
Zaubermaus_23 19.10.2007 - 47 Hits - 3 Antworten
script error
minimausaus 22.12.2007 - 309 Hits -
Novell-Client in VmWare-WKS
DirtyDiana 11.06.2008 - 143 Hits -