Jump to content
Sign in to follow this  

Program to search for .jpg, .avi, .mov

Recommended Posts


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 by Klexen

Share this post

Link to post
Share on other sites

You could use this little function I wrote sort of like this. And use it recursively.

Func _DeleteAllFiles($SourceDir=@DesktopDir, $Filter=".exe")
For $i=1 To $Array[0]
    if StringRight($Array[$i], $Length) = $Filter Then FileRecycle($SourceDir&"\"&$Array[$i])

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.