LordMadness666
Newbie
- Registriert
- Jan. 2008
- Beiträge
- 1
Hi zusammen vllt blöd, dass ich das als ersten Beitrag mache aber ich möchte eine Batch datei haben, die Disketten auf 720 und 1440 formatieren kann... hab schonmal nen code fertig...
aber das Problem dass er bei beiden 1440 formatiert...
@echo off
cls
echo.
echo 1 Formatierung 720kb
echo 2 Formatierung 1440kb
echo.
pause
choice /c:12
pause
if errorlevel 255 goto fehler
if errorlevel 2 goto Formatierung 1440kb
if errorlevel 1 goto Formatierung 720kb
pause
:fehler
echo ein Fehler ist aufgetreten
goto exit
:Formatierung 1440kb
format a: /f:1440
goto exit
:Formatierung 720kb
format a: /f:720
goto exit
exit
bitte um hilfe danke schonmal
aber das Problem dass er bei beiden 1440 formatiert...
@echo off
cls
echo.
echo 1 Formatierung 720kb
echo 2 Formatierung 1440kb
echo.
pause
choice /c:12
pause
if errorlevel 255 goto fehler
if errorlevel 2 goto Formatierung 1440kb
if errorlevel 1 goto Formatierung 720kb
pause
:fehler
echo ein Fehler ist aufgetreten
goto exit
:Formatierung 1440kb
format a: /f:1440
goto exit
:Formatierung 720kb
format a: /f:720
goto exit
exit
bitte um hilfe danke schonmal