Symlink In Windows

To point a virtual file to a real file, use the standard syntax: mklink "C:\Path\To\Link.txt" "D:\Actual\Target\File.txt" Use code with caution. 2. Create a Directory Symlink

mklink /D C:\MyDocs D:\Documents\Work

Example: New-Item -ItemType SymbolicLink -Path MyDocuments -Target C:\Users\Username\Documents symlink in windows

Mehr Infos