The command creates a Junction (specifically, a Directory Junction).
Open Command Prompt as Administrator and run: mklink /j example
| Feature | mklink /J (Junction) | mklink /D (Symbolic Link) | |--------|----------------------|----------------------------| | Requires admin rights | No (works as user) | Yes (by default) | | Works across drives | Yes | Yes | | Relative paths | Possible but not recommended | Yes, well supported | | Remote network targets | No | Yes (with \\server\share ) | | Survives target move/rename | No (breaks) | No | | Windows Explorer shows | <JUNCTION> | <SYMLINKD> | The command creates a Junction (specifically, a Directory
This removes only the junction, not the target folder or its contents. : The new folder name/location you want to
You have a folder D:\Data\Projects and you want quick access to it from C:\Users\YourName\Desktop\Projects .
: The new folder name/location you want to create (this must not already exist).
mklink is a Windows command-line tool used to create symbolic links, hard links, and directory junctions.