File System Watcher of Powershell on Opening a Folder RRS feed

  • Question

  • Recently I am trying to build a file system watcher on my computer with Windows 7. I am using FileSystemWatcher of Powershell, it works quite good! I can monitor file/folder creating, deleting, renaming and file changing, including all files and folders in subfolders. But when I want to monitor the situation that user opens a folder, for example by double clicking, I cannot find any event listeners in Powershell for that, but it is quite important for my file system watcher.

    Does Powershell have this kind of event listener for getting the event of opening a folder? Or is there another better way to do it?

    Thursday, July 17, 2014 2:42 PM