What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[CMD] confirm button to delete

brainAbuddy

Active Member
Joined
Aug 12, 2010
Messages
2,180
Reaction score
11
Hey buddies

I want to create a button to delete all settings volders from an server, because the settings file will get corrupted many times.
I want an confirm button in case I ecedently press the program that it ask if I really want to delete the files

this is what I got now:
HTML:
DEL /F /S /Q /A "D:\HB\Settings\SERVERA"
DEL /F /S /Q /A "D:\HB\Settings\SERVERB"
 
Read the top answer here.
thanks dude!
for those who want to know.
HTML:
@echo off
setlocal
:PROMPT
SET /P AREYOUSURE=Are you sure (Y/[N])?
IF /I "%AREYOUSURE%" NEQ "Y" GOTO END
DEL /F /S /Q /A "D:\HB\Settings\SERVERA"
DEL /F /S /Q /A "D:\HB\Settings\SERVERB"
:END
endlocal
 
I had that just start with 2 bots yesterday. They kept stopping and restarting did nothing. I deleted the settings folder for the toon, restarted, and it was fine.
 
Back
Top