Mklink /j Example Jun 2026
: The new folder name/location you want to create (this must not already exist).
✅ for both <Link> and <Target> to avoid confusion. mklink /j example
To create a junction, you must use the following syntax in an elevated Command Prompt: mklink /j "LinkPath" "TargetPath" Use code with caution. : The new folder name/location you want to
The mklink /j command is used to create a junction point between two directories. The basic syntax of the command is as follows: mklink /j example
Let's say you have a directory called C:\Documents that contains important files and subdirectories. You want to create a junction point called C:\MyDocs that points to C:\Documents . To do this, you would use the following command:
del /a:J <LinkPath>
