Skip to content

retrieve the paths of currently open folders via nt api

Notifications You must be signed in to change notification settings

xshiraori/NativeDirQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Listing currently open folders using low-level approach.

  • Open a handle to explorer.exe with PROCESS_DUP_HANDLE and PROCESS_QUERY_INFORMATION rights.
  • Get list of names with open windows related to explorer.exe
  • Iterate through handles, duplicate each one that belongs to explorer, check if it is a File Object and also in the window list.

About

retrieve the paths of currently open folders via nt api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages