You must use the /D switch for directories.
For example:
| Symptom | Likely Cause | Resolution | | :--- | :--- | :--- | | "The symbolic link cannot be followed because its type is disabled." | Local policy restricts symlinks (e.g., fsutil behavior set SymlinkEvaluation ). | Check fsutil behavior query SymlinkEvaluation . | | mklink fails with "Access denied." | Missing SeCreateSymbolicLinkPrivilege . | Run as Administrator or enable Developer Mode. | | Link works in Explorer but not cmd . | Explorer follows .lnk shortcuts, not symlinks. | Use mklink instead of creating shortcuts. | | Directory symlink appears as a file. | Wrong type used ( /D omitted). | Delete and recreate with /D . | symbolic link on windows