mklink /J "C:\My Links\Documents" "D:\User Data\Documents" ✅ in a directory:
✅ before creating junctions that affect critical system folders. mklink /j example
❌ (USB, SD card) – if the drive is missing, any access to the junction will fail. dir <LinkPath> Look for the [JUNCTION] line showing
❌ (A → B → A) – this can confuse backup software and file search. 9. Quick Reference Card | Action | Command | |--------|---------| | Create junction | mklink /J "LinkFolder" "TargetFolder" | | Remove junction | rmdir "LinkFolder" | | List junctions | dir /a:J | | Show target | dir "LinkFolder" (look for [JUNCTION] ) | This guide covers everything you need to safely and effectively use mklink /J in Windows. mklink /j example
<JUNCTION> Projects [D:\Data\Projects] Use Case 1: Moving large folders to another drive (e.g., game saves, app data) Goal : Move C:\Users\YourName\AppData\Local\MyGame to D:\Games\MyGame to save C: drive space.
dir <LinkPath> Look for the [JUNCTION] line showing the target.