PHP beginner |
|
Ik heb nu dit:
@ECHO OFF
@ECHO Are You Sure?
@ECHO Type 'Y' for yes, 'N' for no.
@IF SET /p answer=Y GOTO AnsY
@IF SET /p answer=N GOTO AnsN
@LABEL AnsY
@DEL C:\Documents and Settings\Gebruiker\Local Settings\Temp
@EXIT
@LABEL AnsN
@EXIT
@ECHO Type 'Y' for yes , 'N' for no . @IF SET /p answer=Y GOTO AnsY @IF SET /p answer=N GOTO AnsN @LABEL AnsY @DEL C:\Documents and Settings\Gebruiker\Local Settings\Temp @LABEL AnsN
Alleen het werkt niet echt heel erg.. Zodra ik TempCleaner.bat open, sluit hij weer.
EDIT: Te lang niet gerefreshed, de post van Sander dus niet gezien sorry:$
EDIT II:
Ik heb nu dit, maar TempCleaner.bat sluit nogsteeds meteen af..
@ECHO OFF
@ECHO TempCleaner Made By Nick.
@ECHO Are You Sure?
@ECHO Type 'Y' for yes, 'N' for no. [Y/N]
@SET /P MENU
@IF %MENU% == Y (GOTO AnsY) ELSE GOTO AnsN
@LABEL AnsY
@DEL C:\Documents and Settings\Gebruiker\Local Settings\Temp
@EXIT
@LABEL AnsN
@EXIT
@ECHO TempCleaner Made By Nick . @ECHO Type 'Y' for yes , 'N' for no . [Y /N ] @SET /P MENU @IF %MENU% == Y (GOTO AnsY) ELSE GOTO AnsN @LABEL AnsY @DEL C:\Documents and Settings\Gebruiker\Local Settings\Temp @LABEL AnsN
Wat is er fout? |