Hacker News new | ask | show | jobs
by sumtechguy 918 days ago
That depends on your version of windows (newer versions are more relaxed on it). Also file links are 'weird' in windows.

You have 3 types junction points, file links and directory links. Each one acting in its very weird odd way. Junction points are for local only directories. Files for files and directories can be either local dirs or remote SMB points. Junctions vs dir can be an interesting trade off on what you want it to do. With junciton being faster for many operations but local only. Also if the file is less than ~500 bytes there is no real gain as you will probably just consume MFT anyway either way.

1 comments

You need SeCreateSymbolicLinkPrivilege to create symlinks in both Win 10 and Win 11.

https://learn.microsoft.com/en-us/windows/security/threat-pr...

Its one of the things enabled by "dev mode" in the control panel.
ah i probably enabled that...