Posted by James Forshaw, path’ological reverse engineer. How the Win32 APIs process file paths on Windows NT is a tale filled with backwards compatibility hacks, weird behaviour, and beauty†. Incorrect handling of Win32 paths can lead to security vulnerabilities. This blog post is to try and give a definitive* guide on the different types of paths supported by the OS. I’m going to try and avoid di
![The Definitive Guide on Win32 to NT Path Conversion](https://cdn-ak-scissors.b.st-hatena.com/image/square/0e64da4c386aef74c65988a04df3556f78e59ec9/height=288;version=1;width=512/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fb%2FR29vZ2xl%2FAVvXsEgN4rl7jm_yUcySIyPsvo1jT7SppuiqBPxS5GaM0DS0GGnWupJpqvcPGFxrIiKZKxZu55J5uJyRQC50-SLn05p9ZCCNViNlW3tI0mKfbVpE0fC1UJZpgVj7UMvYacvZ8_IdkbLy_RRiXRPSbZwch1ASChWaUdV6WLVM9VUt43v73GQWRaVzOo_i0g6Z%2Fw1200-h630-p-k-no-nu%2Fimage3.png)