custom message on deletion of file…

Home Forums Discussions General custom message on deletion of file…

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5202
    shakuni
    Participant

      While deleting some files on windows XP, I get this message
      “Deleting this File Will Make some Programs not Work”
      I want to know weather I can produce a particular message, like above, when a file gets deleted.

      (May be I need to monitor certain files using hook, and when the hook notifies me of their deletion, I show a messagebox like above. But I want to know how “windows” do it).

      #6614
      Vadim Smirnov
      Keymaster

        You can use file system filter driver to monitor all file operations. However, in case of Windows message you have mentioned – it rather implemented in the Windows Explorer and you will be able to remove those files through the command line or another file manager.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.