Mlink Command In Windows Server 2008
In this article I am going to explain about Mlink command in windows server 2008 operating system.
Introduction
Mklink is command-line tool that is built in Windows server 2008. Mklink command allows you to create symbolic links or symlinks and hard links to directory or a file. Mklink is a nice tool for troubleshooting file system problems.
Mklink command syntax
mklink [[/d] | [/h] | [/j]] <Link> <Target>
|
In above syntax
Parameter |
Description |
/d |
Creates a directory symbolic link. By default it creates a file symbolic link. |
/h |
Creates a hard link rather symbolic link. |
/j |
Creates a Directory Junction. |
<Link> |
Defines the new symbolic link name. |
<Target> |
The path (relative or absolute) that the new link refers to. |
Example
The default command (without any options) will create a symbolic or soft link to a file.
mklink pad.exe C:\Windows\system32\notepad.exe
|
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here