The most common way to create a symlink is using the mklink command. mklink "C:\Path\To\Link.txt" "C:\Path\To\OriginalFile.txt" Use code with caution.
You must run the Command Prompt with administrative privileges unless is enabled in your Windows settings. windows make symlink
If you prefer using PowerShell, you can achieve this with the New-Item cmdlet. You can find more details on creating hard and soft links using PowerShell on Stack Overflow. The most common way to create a symlink
The target is resolved , not the current directory. not the current directory.