Mklink is a utility provided by Microsoft to create symbolic links to folders and files on Windows, such as "ln" utility in Linux.

learn more… | top users | synonyms

2
votes
2answers
6k views

How Can I Create a NTFS Directory Redirect in Windows 7 Enterprise?

I am using DeepFreeze to keep my C:\ drive from getting corrupted, but I need the "C:\Users" directory to be redirected (like a virtual directory or alias) to "D:\Users" so that basic changes to user ...
17
votes
4answers
14k views

Using mklink /h results in “Access is denied.”

From command prompt with Administrator privilages: c:\>mklink /h c:\dirA c:\Users\Piotr\dirB Access is denied. I'm on Vista x64. Using /j or /d instead of /h works. What's the problem? Related: ...
1
vote
3answers
852 views

What can I not symlink/mklink in the windows folder (i.e. prevent booting)

I have a huge project. I got the scripting down. The script dumps to a .txt file a list of all files under or over a certain size. I then move the files to another hd (depending on how I setup my ...
14
votes
10answers
38k views

Access is denied error, when I mklink on Windows 7 [duplicate]

My home directory is c:\Users\phi as a user phi, and I made a directory at c:\Users\abc. I need to symbolic link from c:\Users\phi\hello to c:\Users\abc\hello. I run the following command mklink ...
9
votes
2answers
2k views

When would one prefer a Junction Point (Directory Hard Link) over a symbolic link?

Technically, I get the difference between the two; this is just a usage question. In particular, I want to move some folders off of a smaller hard drive and onto a larger one, but I need to use some ...
20
votes
2answers
35k views

Windows 7: hard link, symbolic link and junction [duplicate]

Possible Duplicate: What is the difference between NTFS hard links and directory junctions? What's the difference between them? in examples..
16
votes
6answers
35k views

Got not sufficient privileges message in CMD when logged on as administrator

I was trying to use mklink command in cmd (i have Windows 7 os) I was logged on as administrator, but i got a " you do not have sufficient privilege to perform this operation" message. I used the same ...
42
votes
8answers
55k views

How do I create a link in Windows 7 home premium as a regular user? [duplicate]

I am a Linux guy and as such I am very lost when I try and do anything is Windows. I am trying to create the following link: mklink /d C:\backup\data \\myth\backup\data But I do not have sufficient ...
4
votes
1answer
1k views

How do I figure out if a link is a symbolic link, a hard link, or a directory junction in Windows?

If I've created a directory link via mklink, how can I figure out if it was a symbolic link, a directory junction, or a hard link (ie whether I used /d, /j, or /h)?
15
votes
4answers
7k views

What directories in a Windows 7 SSD install would you link/junction to an HDD?

I'm planning on installing an SSD/HDD combination with the SSD as my boot (Windows 7 x64) drive, and a spinning HDD as a storage drive. Are there any log files in particular best suited to a mklink ...