axe.killer Posted July 11, 2005 Share Posted July 11, 2005 (edited) i want it so that it scans for a file , and if it finds it, BAM, BOOM, deleted. Anyone with some expert advice (btw i want it to scan the whole computer) Thankyou ~yours respectfully , axe. Example: The same way an anti virus works. Edited July 11, 2005 by axe.killer Link to comment Share on other sites More sharing options...
w0uter Posted July 11, 2005 Share Posted July 11, 2005 AFAIK AV's scan for headers. not for the physical files themselfs. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
axe.killer Posted July 11, 2005 Author Share Posted July 11, 2005 AFAIK AV's scan for headers. not for the physical files themselfs.<{POST_SNAPBACK}>can u help us with that pls? Link to comment Share on other sites More sharing options...
/dev/null Posted July 11, 2005 Share Posted July 11, 2005 (edited) i want it so that it scans for a file , and if it finds it, BAM, BOOM, deleted. Anyone with some expert advice (btw i want it to scan the whole computer) Thankyou~yours respectfully , axe. Example: The same way an anti virus works.<{POST_SNAPBACK}>Help file AND forum search: FileFindFirstFile, FileFindNextFile and FileGetAttrib and you're done .EDIT: And of course FileDelete!CheersKurt Edited July 11, 2005 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
axe.killer Posted July 11, 2005 Author Share Posted July 11, 2005 Help file AND forum search: FileFindFirstFile, FileFindNextFile and FileGetAttrib and you're done .EDIT: And of course FileDelete!CheersKurt<{POST_SNAPBACK}>im not sure how to use that command i will be ever so greatful if u guided me. Thankyou ever so much. Link to comment Share on other sites More sharing options...
blindwig Posted July 11, 2005 Share Posted July 11, 2005 im not sure how to use that command i will be ever so greatful if u guided me. Thankyou ever so much.<{POST_SNAPBACK}>Which command are you having trouble with? My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions Link to comment Share on other sites More sharing options...
axe.killer Posted July 11, 2005 Author Share Posted July 11, 2005 (edited) Which command are you having trouble with?<{POST_SNAPBACK}>FileFindFirstFile, FileFindNextFile and FileGetAttrib those ones, i want it t scan for a file name, if it finds it BAM BAM dead. bad virus.it wont be like other anti viruses. this one will be name based.edit: helpers will get credit. Edited July 11, 2005 by axe.killer Link to comment Share on other sites More sharing options...
blindwig Posted July 11, 2005 Share Posted July 11, 2005 (edited) OK, lets try one at a time. What error are you getting? What is your program doing or not doing? It seems to me, that for what you want to do, you can pretty much take the sample straight out of the FileFindFirstFile example, and change the msgbox line to something like: if $file=<the name of the file you want to delete> then FileDelete($file) Edited July 11, 2005 by blindwig My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions Link to comment Share on other sites More sharing options...
/dev/null Posted July 11, 2005 Share Posted July 11, 2005 im not sure how to use that command i will be ever so greatful if u guided me. Thankyou ever so much.<{POST_SNAPBACK}>Hm I guess, you haven't read the help file, otherwise you would have seen the sample code. So, please read the help file first and then come back an ask specific questions.CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Brona Posted July 11, 2005 Share Posted July 11, 2005 Check out topic: http://www.autoitscript.com/forum/index.php?showtopic=13437 Not All Who Wander Are Lost 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