Klexen Posted September 1, 2008 Share Posted September 1, 2008 (edited) Ok, so my friend sent some nude pictures and videos to a girl, who is now black mailing her and threatening to post them on the internet. I told her I would find or write a program for her to search for any jpg, mov, or avi file on her computer and delete them. It's really important to her, and I told her I would see what I could do to help. I'm sure I could figure it out, but if someone already has something like that, or can do it quickly and hook me up, I would really appreciate it. I would just do it myself, but time is a factor. And I want to make sure it works. Edited September 1, 2008 by Klexen Link to comment Share on other sites More sharing options...
TehWhale Posted September 1, 2008 Share Posted September 1, 2008 You could use this little function I wrote sort of like this. And use it recursively. Func _DeleteAllFiles($SourceDir=@DesktopDir, $Filter=".exe") $Array=_FileListToArray($SourceDir) $Length=StringLen($Filter) For $i=1 To $Array[0] if StringRight($Array[$i], $Length) = $Filter Then FileRecycle($SourceDir&"\"&$Array[$i]) Next EndFunc 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