|
"To us
all towns are one, all men our kin. |
| Home | Whats New | Trans State Nation | One World | Unfolding Consciousness | Comments | Search |
Home > Tamilnation Library > Politics > MGR, the man and the myth by K Mohandas
mklink /D "MyDocs" "D:\Documents"
Understanding the difference between these is crucial for using mklink effectively. mklink command
If you have a web server like XAMPP installed on C: but want to store your website files on D: , you can move the folder and create a link so the server doesn't know the location changed: Move C:\xampp\htdocs to D:\htdocs . Run: mklink /D "C:\xampp\htdocs" "D:\htdocs" . : A direct reference to the data on the disk
: A direct reference to the data on the disk. Deleting the original filename does not delete the data as long as at least one hard link still points to it. Basic Syntax and Usage mklink /d mylinkdir C:\path\to\targetdir dir /AL # Shows
This creates a symbolic link named mylink.txt that points to C:\path\to\target.txt .
mklink /d mylinkdir C:\path\to\targetdir
dir /AL # Shows all reparse points (symlinks/junctions) fsutil hardlink list <filename> # Shows hard links for a file