AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delete files with yes /no box

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Bob
Guest





PostPosted: Mon Aug 02, 2004 1:14 am    Post subject: Delete files with yes /no box Reply with quote

I'm new at this and I want to do this delete files but ask the users if they want to do it or not with a yes or no msgbox . how would I do it ?
Quote:
FileDelete, C:\Documents and Settings\%USERNAME%\Cookies\*.txt,
Back to top
Guest






PostPosted: Mon Aug 02, 2004 1:31 am    Post subject: Reply with quote

Thats ok I got it to work .
Quote:
MsgBox, 4, , You Sure you want to DELETE your cookies`n`nContinue?
IfMsgBox, No
return
IfMsgBox, Yes
FileDelete, C:\Documents and Settings\%USERNAME%\Cookies\*.txt
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group