gh-100320: Fix path calculations on Windows when python.exe is moved outside of the normal location (GH-100947)

4 files changed