This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Geoff.Alexander
Recipients Geoff.Alexander, eryksun, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-03-08.18:18:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552069098.35.0.240031395461.issue36213@roundup.psfhosted.org>
In-reply-to
Content
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.
```
History
Date User Action Args
2019-03-08 18:18:18Geoff.Alexandersetrecipients: + Geoff.Alexander, paul.moore, vstinner, tim.golden, zach.ware, eryksun, steve.dower
2019-03-08 18:18:18Geoff.Alexandersetmessageid: <1552069098.35.0.240031395461.issue36213@roundup.psfhosted.org>
2019-03-08 18:18:18Geoff.Alexanderlinkissue36213 messages
2019-03-08 18:18:18Geoff.Alexandercreate