Geoff Alexander <[email protected]> added the comment:
Using the "\\?\" prefix does not work. Here's a small example:
```
import os
import subprocess
os.chdir(r"\\?\C:\Users")
output = subprocess.check_output("dir", shell=True)
```
Using Python 3.7.2 64-bit on Windows 10 fails with
```
c:\Users\GeoffAlexander\Documents\Python>python test.py
'\\?\C:\Users'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
```
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36213>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com