Results 1 to 5 of 5

Thread: Intercepting requests to open files & folders

  1. #1

    Thread Starter
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Intercepting requests to open files & folders

    I'm trying to create something that will intercept requests to open a file or folder in Windows Explorer. So far, the only thing I can come up with is that I need to make a file system filter driver. Is this the easiest way to accomplish what I'm after? If so, does anyone know of any good literature on creating one?

  2. #2
    Fanatic Member pvbangera's Avatar
    Join Date
    Sep 2001
    Location
    Mumbai, India
    Posts
    961

    Re: Intercepting requests to open files & folders

    Try
    Code:
    Process.Start("Explorer.exe", FileName)
    'where FileName is your File or Folder name
    Microsoft Techie

  3. #3
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Intercepting requests to open files & folders

    pvbangera - I think you have got the wrong idea, all that code does is opens a file. ForumAccount is talking about having his code run every time ANY file is opened through explorer.

    ForumAccount - are you using a server operating system?
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  4. #4
    Fanatic Member pvbangera's Avatar
    Join Date
    Sep 2001
    Location
    Mumbai, India
    Posts
    961

    Re: Intercepting requests to open files & folders

    oops...my bad
    Microsoft Techie

  5. #5

    Thread Starter
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: Intercepting requests to open files & folders

    Quote Originally Posted by chris128 View Post
    ForumAccount - are you using a server operating system?
    XP Pro sp3

Tags for this Thread

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