logoalt Hacker News

masklinntoday at 2:05 PM0 repliesview on HN

> AFAIK you can't open directories on Windows.

You can but you have to go through the lower level API: NtCreateFile can open a directory, and you can pass in a RootDirectory handle to following calls to make them handle-relative.