Linux and Posix-compliant Unix systems also support these links. I don’t know how, though, to create and delete them.
Uses Of MkLink | ||
---|---|---|
Purpose | Command | Notes |
Create a file symbolic link | MkLink alias.txt existing.txt | |
Create a directory symbolic link | MkLink /D aliasdir existingdir | |
Create a file hard link | MkLink /H alias.txt existing.txt | |
Create a directory hard link | Not possible | |
Create a file soft link/junction | Not possible?? | |
Create a directory soft link/junction | MkLink /J E:\aliasdir C:\existingdir | |
Delete a file link | del alias.txt | Only after you have deleted all the aliases you can delete the file itself. |
Delete a directory link | MkLink /X E:\aliasdir | Deletes the alias, not the file itself. The file itself can be deleted via the original name or the alias. |
What happens if someone moves the directory of the original or the target? It depends on whether you used absolute or relative names to specify. You can also use the /A option to force absolute. If you must move them, do some experiments to see the effects.
This page is posted |
http://mindprod.com/jgloss/mklink.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\mklink.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.147.62.5] |
| |
Feedback |
You are visitor number | |