New GitHub issue #93286 from ntosis:<br>
<hr>
<pre>
**Bug report**
When I use the command Path(rootdir).glob('**/*') to find all files in a directory recursive the glob command aborts
**Your environment**
windows 10
This is the error message, when I navigate with explorer into this directory I can see a file.
I think glob cannot handle a very large path.
for i in Path(rootdir).glob('**/*'):
File "C:\Tools\Python\Python37-64\lib\pathlib.py", line 1093, in glob
for p in selector.select_from(self):
File "C:\Tools\Python\Python37-64\lib\pathlib.py", line 553, in _select_from
for p in successor_select(starting_point, is_dir, exists, scandir):
File "C:\Tools\Python\Python37-64\lib\pathlib.py", line 510, in _select_from
entries = list(scandir(parent_path))
FileNotFoundError: [WinError 3] the system cannot find the path: '\\\\dek-scf35\\build_data\\sandboxes\\ntosis\\300BM\\MICROSAR\\ThirdParty\\Mcal_Tc3xx\\Supply\\MC-ISAR_AS42x_AURIX2G_TC38xA_TC39xB_BASIC_1.0.0-beta\\DemoWorkspace\\McalDemo\\TC38A\\1_ToolEnv\\2_Tresos\\.metadata\\.plugins\\org.eclipse.core.resources\\.projects\\DemoApp\\.indexes'
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/93286">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>