Skip to content

fix: make symlinks, shortcuts and junctions work as portals - #90

Merged
Araxeus merged 4 commits into
masterfrom
fix/link-portals
Nov 28, 2026
Merged

Araxeus merged 4 commits into
masterfrom
fix/link-portals

Conversation

@Araxeus

@Araxeus Araxeus commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Symlinks, junctions and .lnk shortcuts now act as portals into the folders they point to.

  • Resolve shortcuts from their own folder, preferring the absolute target stored in the .lnk
  • Open shortcuts that point to a file or program through the shell, so their arguments apply (e.g. explorer.exe shell:AppsFolder)
  • Open symlinks to files instead of browsing them as empty folders
  • List junctions that deny listing (e.g. C:\Documents and Settings) through their target, keeping paths under the link

@Araxeus Araxeus changed the title fix: make links and shortcuts work as portals fix: make symlinks, shortcuts and junctions work as portals Nov 18, 2026
Prefer the absolute target path stored in the shortcut. Fall back to the relative path joined onto the shortcut's folder, not the working directory.
Junctions like C:\Documents and Settings deny listing but allow traversal. Listing falls back to the resolved target, and entries keep paths under the link.
Only a shortcut to a folder browses into it. Any other shortcut opens through the shell, which keeps its arguments.
@Araxeus
Araxeus merged commit 36d0997 into master Nov 28, 2026
2 checks passed
@Araxeus
Araxeus deleted the fix/link-portals branch November 28, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant