custom message on deletion of file…

Home Forums Discussions General Discussion custom message on deletion of file…

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 9 years, 1 month ago.

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
    Moderator

    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.