Created
December 9, 2011 13:18
-
-
Save mapfel/1451481 to your computer and use it in GitHub Desktop.
Batchprogrammierung: Ja/Nein-Abfrage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ECHO Rekursiv alle Ordnerinhalte unterhalb des Content-Ordner loeschen? | |
SET /P X= (J)a oder (N)ein? | |
IF /I "%X%"=="J" GOTO :LabelDelete | |
GOTO :LabelCollect | |
:LabelDelete | |
ECHO OFF | |
DEL /S /Q *.*>NUL | |
ECHO Dateien geloescht. | |
GOTO :LabelCollect | |
:LabelCollect | |
ECHO OFF | |
REM going on ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment