slayerz Posted February 7, 2007 Posted February 7, 2007 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]
mrbond007 Posted February 7, 2007 Posted February 7, 2007 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 exei don't understand exactlly what you want but use FileGetTime function :http://www.autoitscript.com/autoit3/docs/f...FileGetTime.htm Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight
slayerz Posted February 7, 2007 Author Posted February 7, 2007 i don't understand exactlly what you want but use FileGetTime function :http://www.autoitscript.com/autoit3/docs/f...FileGetTime.htmi 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]
Moderators SmOke_N Posted February 7, 2007 Moderators Posted February 7, 2007 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.
dabus Posted February 7, 2007 Posted February 7, 2007 You could: 1) Have a look at _FileListToArrayEx. 2) Use it to get an array of your files on your drive. 3) Get an array of this drive if you're finished 4) Compare the array wirh the old one and delete new files.
gnosis3d Posted February 7, 2007 Posted February 7, 2007 How about dropping the 10 year old ebonics and speak proper english if you want help.Nicely said.
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