slayerz 0 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] Share this post Link to post Share on other sites
mrbond007 0 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 Share this post Link to post Share on other sites
slayerz 0 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] Share this post Link to post Share on other sites
SmOke_N 210 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. Share this post Link to post Share on other sites
dabus 0 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. Share this post Link to post Share on other sites
gnosis3d 0 Posted February 7, 2007 How about dropping the 10 year old ebonics and speak proper english if you want help.Nicely said. Share this post Link to post Share on other sites