Benutzer-Werkzeuge

Webseiten-Werkzeuge


Seitenleiste

anwendungen_und_sonstiges:ntfssymboliclink

NTFS - Symbolische Links setzen und löschen

To create symbolic link in windows 7,then easiest way is to use command mklink.

C:\Windows\system32>mklink
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.

Example:

To create a symbolic link named MyDocs from the root directory to the \Users\User1\Documents directory, type:

mklink /D \MyDocs \Users\User1\Documents

Also we can use junction.exe or linkd.exe to create symbolic link in windows 7,you can try them after put them to C:\windows\system32 if you have the interest.

Quelle: http://www.windows7home.net/how-to-create-symbolic-link-in-windows-7/

To delete a symbolic link to a file or directory, the following command line syntax can be used (in each case, "linkname" specifies the name of the symbolic link to be deleted):

For links to files:

del linkName 

For links to directories:

rmdir linkName 

Hope this helps.

Cheers, from La Paz, Bolivia

Quelle: http://answers.microsoft.com/en-us/windows/forum/windows_vista-files/how-to-remove-a-symbolic-link/e171f76a-a62b-4604-8777-3439492bf1f7

anwendungen_und_sonstiges/ntfssymboliclink.txt · Zuletzt geändert: 2016/04/02 00:48 (Externe Bearbeitung)