[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not
Jim Schwartz
report at bugs.python.org
Wed Dec 15 12:47:43 EST 2021
Jim Schwartz <jschwar at sbcglobal.net> added the comment:
do you have this registry entry set to 1: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled set to 1. It works if you do. What version of windows do you have? I have version 21H2 (OS Build 19044.1387). I don't have windows 11 yet.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46084>
_______________________________________
More information about the Python-bugs-list
mailing list