Thursday, April 3, 2025

Symlinks in Windows

I prefer the *nix environment, but let's face it; at times we have no choice on our OS.  One thing I often struggle with is creating symlinks in Windows similar to how I'd do it in *nix.  No more "ln -s ...".


This seemed helpful to do it through the command line with Admin privileges:


https://www.howtogeek.com/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/


There is another way, but I couldn't get it to work again just now.  Hence the personal note I'm making now.

New-Item -ItemType SymbolicLink -Path ".emacs" -Target D:\repos\emacs\emacs.el



No comments:

Post a Comment