A is a special type of file or folder that acts as a transparent shortcut to another file or folder. Unlike a standard Windows shortcut ( .lnk file), a symlink is invisible to applications and the operating system .

New-Item -ItemType SymbolicLink -Path MyLink -Target C:\Path\To\Target\File.txt

The mklink command is the standard tool for creating links in CMD.

– Make C:\Games\CurrentSave point to D:\Saves\Game1 :

# File symlink New-Item -Path "C:\link.txt" -ItemType SymbolicLink -Target "D:\real.txt"