Where:
mklink [options] Microsoft Learn +1 : The name of the new link you want to create. : The path to the existing file or folder you want to link to. kak.kornev-online.net Types of Links Switch Link Type Best Used For... (none) File Symbolic Link Linking a single file across different folders. Default behavior. /D Directory Symbolic Link Linking to a folder. Supports relative paths. /H Hard Link Creating a mirror of a file on the same volume; deleting the link doesn't delete the target. /J Directory Junction Linking a local folder to another local folder; often preferred for redirecting application data folders. Important Tips 15 sites Mklink - Microsoft Learn Aug 30, 2016 —
mklink /d link_dir C:\path\to\original\directory
mklink /D "C:\OneDrive\Project" "D:\Work\LargeProject" This makes your large project folder appear inside OneDrive without actually moving the files from your D: drive. 2. Saving Space on SSDs
These create a direct entry in the file system for a file, pointing to the same data on the disk as the original file. Deleting the original file does not delete the data as long as the hard link exists.

Where:
mklink [options] Microsoft Learn +1 : The name of the new link you want to create. : The path to the existing file or folder you want to link to. kak.kornev-online.net Types of Links Switch Link Type Best Used For... (none) File Symbolic Link Linking a single file across different folders. Default behavior. /D Directory Symbolic Link Linking to a folder. Supports relative paths. /H Hard Link Creating a mirror of a file on the same volume; deleting the link doesn't delete the target. /J Directory Junction Linking a local folder to another local folder; often preferred for redirecting application data folders. Important Tips 15 sites Mklink - Microsoft Learn Aug 30, 2016 — mklink
mklink /d link_dir C:\path\to\original\directory Where: mklink [options] Microsoft Learn +1 : The
mklink /D "C:\OneDrive\Project" "D:\Work\LargeProject" This makes your large project folder appear inside OneDrive without actually moving the files from your D: drive. 2. Saving Space on SSDs (none) File Symbolic Link Linking a single file
These create a direct entry in the file system for a file, pointing to the same data on the disk as the original file. Deleting the original file does not delete the data as long as the hard link exists.