mklink
Creates a directory or file symbolic or hard link. Windows commands reference
On Windows
Windows
mklink [[/d] | [/h] | [/j]] <link> <target>mklink /d \MyFolder \Users\User1\Documentsmklink /h \MyFile.file \User1\Documents\example.filerd \MyFolderdel \MyFile.file
/dCreates a directory symbolic link. By default, this command creates a file symbolic link./hCreates a hard link instead of a symbolic link./jCreates a Directory Junction.<link>Specifies the name of the symbolic link being created.<target>Specifies the path (relative or absolute) that the new symbolic link refers to./?Displays help at the command prompt.Windows
Create symbolic links.
Create a symbolic link to a file
mklink path\to\link_file path\to\source_fileIdentifyCreate a symbolic link to a directory
mklink /d path\to\link_file path\to\source_directoryIdentify/dCreates a directory symbolic link. Windows commands referenceCreate a hard link to a file
mklink /h path\to\link_file path\to\source_fileIdentify/hCreates a hard link instead of a symbolic link. Windows commands referenceCreate a directory junction
mklink /j path\to\link_file path\to\source_fileIdentify/jCreates a Directory Junction. Windows commands reference