Windows command line: create symbolic link folder

 C:\Windows\system32>cd /


C:\>cd Users\IAmJava


C:\Users\IAmJava>mklink /d myptojects C:\MyWork\Projects\MyProjects

symbolic link created for myptojects  <<===>> C:\MyWork\Projects\MyProjects


C:\Users\IAmJava>mklink --help

The syntax of the command is incorrect.

Creates a symbolic link.


MKLINK [[/D] | [/H] | [/J]] Link Target


        /D      Creates a directory symbolic link.  Default is a file

                symbolic link.

        /H      Creates a hard link instead of a symbolic link.

        /J      Creates a Directory Junction.

        Link    Specifies the new symbolic link name.

        Target  Specifies the path (relative or absolute) that the new link

                refers to.


C:\Users\IAmJava>mklink /d learnings C:\MyWork\Projects\Learning

symbolic link created for learnings <<===>> C:\MyWork\Projects\Learning

Không có nhận xét nào:

StaticImage

  import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...