Bug: QueryDirectory results item 2 missing

Ray Satiro 46 Reputation points
2021-01-08T07:00:10.54+00:00

Process Monitor records the directory listing for QueryDirectory but it skips item 2. I noticed this when I had a directory with two sub directories and the QueryDirectory record in Process Monitor only showed 1.

To test this I made 3 sub directories a, b, c. I then tried to remove the directory they were in while I monitored file system calls in Process Monitor. The QueryDirectory record shows:

0: ..
1: a
FileInformationClass: FileBothDirectoryInformation
3: c

I'm guessing the line that says FileInformationClass: FileBothDirectoryInformation overwrote item 2

I'm using the latest version, Process Monitor v3.60.

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,132 questions
0 comments No comments
{count} votes

Accepted answer
  1. mariora 376 Reputation points
    2021-01-08T12:45:05.173+00:00

    Submit a bug report to SysSite@microsoft.com with the steps to repro.

    Thanks
    -mario


0 additional answers

Sort by: Most helpful