JAEN

Windows

mklink

CautionCreate links

mklink /D <link> <target>

Creates symlinks, junctions and hard links — the classic move for relocating folders to another drive.

Examples

  • mklink /J C:\data D:\dataJunction a folder to another drive

Syntax

mklink [/D|/J|/H] <link> <target>

Before you run it

Understand link-vs-target deletion first.

Related commands

  • lnCreate links
  • fsutilFilesystem utilities

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store