To create a junction, you must use the following syntax in an elevated Command Prompt: mklink /j "LinkPath" "TargetPath" Use code with caution.
You have a folder D:\Data\Projects and you want quick access to it from C:\Users\YourName\Desktop\Projects . mklink /j example
This removes only the junction, not the target folder or its contents. To create a junction, you must use the
If you want to move your "Games" folder from a full C: drive to a larger D: drive without breaking your shortcuts, you would: Move the folder to D:\Games . Run the command: mklink /j "C:\Games" "D:\Games" To create a junction