Results 1 to 3 of 3

Thread: Virus checker

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Posts
    53
    How to check whether a file is changed,added to directory(particular).


    Thanks,

    Milind.

  2. #2
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628
    I can think of 2 ways, depending on what you want to do. If you want to check if it has been modified since it was written to hard drive, simply compare the file creation date with the last modified date (new to win 95/98/me)
    Or you could do it like Microsoft Anti-virus did. Save a checksum for each file in that directory in a file called checksum.vb or whatever. Compute the checksums again on a periodic basis and compare them to the old ones.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  3. #3
    Addicted Member KrishnaSantosh's Avatar
    Join Date
    Feb 2001
    Location
    Coimbatore
    Posts
    210
    As Lord Orwell Suggested, Checking Data And Time Is The Best And The Widely Used Method. But If You Want To Receive a notification whenever a file is created, Opened, Closed Or Modified, Try Using An ActiveX Control Available At www.activex.com.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width