mklink /H "C:\Project\file.txt" "C:\Backup\file.txt"
The command is mklink .
New-Item -ItemType SymbolicLink -Path C:\Path\To\Link -Target C:\Path\To\Target symbolic link on windows
The primary tool for this is the Command Prompt ( cmd.exe ). While PowerShell can do it, cmd syntax is often easier to remember. mklink /H "C:\Project\file
NIST National Vulnerability Database. (2019-2023). CVEs related to Windows symlink/junction vulnerabilities. symbolic link on windows