silentg0d Posted August 22, 2007 Share Posted August 22, 2007 (edited) ok so im trying to make a script to delete something after you confirm/allow it to do so. Heres my script what am i doing wrong $delete = inputbox("Confirmation","Would you like to confirm delete of windows system32 folder?", "yes") $delete if $delete = "yes" Then send("{DELETE}") EndIf Edited August 22, 2007 by silentg0d Link to comment Share on other sites More sharing options...
Gif Posted August 22, 2007 Share Posted August 22, 2007 $delete = MsgBox(4, "Confirmation","Would you like to confirm delete of windows system32 folder?") If $delete = 6 Then DirRemove(@SystemDir) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now