Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.6.1, 4.6.2, 4.6.3
-
None
Description
The correct folder that matches the link will be open but the path will include the .lnk (which is incorrect).
When DontResolveSymLinks is set, shouldn't we return the link itself wheter it points to a file or a folder?
Included a test case to test with for example the following folder:
tmp/
├─originals/
│ │ original_text.txt
│ │
│ └─original_folder/
│
└─shortcuts/
- original_folder - shortcut.lnk
- original_text.txt - shortcut.lnk
Includes a patch suggestion (may not cover all cases but can give a clue)