Windows create soft link

 

C:\WINDOWS\system32>mklink /J d:\soft\test d:\app
Symlink created for d:\soft\test <<===>> d:\app

 

More info: mklink -h

grammar:

mklink /D shortcut actual directory  

mklink /J shortcut actual directory  

When the actual directory is an absolute path, there is no difference between the two, and the actual directory can be accessed through shortcuts whenever you move it.

When the actual directory is a relative path, after the actual directory is moved, the shortcut of /J can be accessed normally, but the shortcut of /D cannot be accessed

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326373714&siteId=291194637