New-Item -Path "link_path" -ItemType SymbolicLink -Target "target_path" For a file:
mklink "C:\Users\YourName\Desktop\shortcut.txt" "D:\Documents\original.txt"
mklink /D "C:\Projects\current" "D:\Archives\project_2025"
New-Item -Path "link_path" -ItemType SymbolicLink -Target "target_path" For a file:
mklink "C:\Users\YourName\Desktop\shortcut.txt" "D:\Documents\original.txt" how to create symbolic link windows
mklink /D "C:\Projects\current" "D:\Archives\project_2025" how to create symbolic link windows