diff --git a/dleapp.py b/dleapp.py
index ac33c36..d2245f0 100755
--- a/dleapp.py
+++ b/dleapp.py
@@ -474,9 +474,10 @@ def crunch_artifacts(
else:
log.write(f'
- {len(found)} {"files" if len(found) > 1 else "file"} for regex {artifact_search_regex} located at:')
for pathh in found:
- if pathh.startswith('\\\\?\\'):
- pathh = pathh[4:]
- log.write(f'')
+ # Strip \\?\ only for log display; file_infos is keyed with the
+ # original long-path form on Windows.
+ display_path = pathh[4:] if pathh.startswith('\\\\?\\') else pathh
+ log.write(f'')
if seeker.file_infos.get(pathh):
file_path_id = id(seeker.file_infos.get(pathh))
if not pattern_already_searched and file_path_id not in file_path_ids: