Overall, mklink is a powerful tool for creating symbolic links in Windows. With a little practice, you can use it to simplify your file system organization and workflow.
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
Note: You must run the Command Prompt as an to use mklink for symbolic links. Practical Use Cases 1. Managing Cloud Storage
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.
If you use services like OneDrive or Dropbox that force you to use specific folders, you can use mklink to mirror folders from elsewhere on your drive.
Creates a . By default, mklink creates a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates a directory junction .