Jump to content

How to make a script that will delete any new created file?


Recommended Posts

did anyone know how to make a script that will delete the newly-created files?

i'm asking this bcoz worm & spyware alwiz copy themselves in my pendrive each time i use it at cyber cafe.

so that, i hope with autoit, i can delete that file with juz click on that exe

AUTOIT[sup] I'm lovin' it![/sup]

Link to post
Share on other sites

did anyone know how to make a script that will delete the newly-created files?

i'm asking this bcoz worm & spyware alwiz copy themselves in my pendrive each time i use it at cyber cafe.

so that, i hope with autoit, i can delete that file with juz click on that exe

i don't understand exactlly what you want but use FileGetTime function :

http://www.autoitscript.com/autoit3/docs/f...FileGetTime.htm

Link to post
Share on other sites

i don't understand exactlly what you want but use FileGetTime function :

http://www.autoitscript.com/autoit3/docs/f...FileGetTime.htm

i juz want to know the script that can delete new file entered my pendrive, i.e worms or spyware. so, with juz click on my compiled-script, i can eliminate them all.

or is there any way to delete any files that is not in our list?

AUTOIT[sup] I'm lovin' it![/sup]

Link to post
Share on other sites
  • Moderators

i juz want to know the script that can delete new file entered my pendrive, i.e worms or spyware. so, with juz click on my compiled-script, i can eliminate them all.

or is there any way to delete any files that is not in our list?

How about dropping the 10 year old ebonics and speak proper english if you want help.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...