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

1
vote
1answer
36 views

Moving Windows folders around with Junction links (mklink)

Space on my SSD is running pretty low, and there seems to be a 19GB folder in Windows that sticks out (%windir%\Installer) and cannot be safely deleted (as explained here: ...
0
votes
1answer
26 views

mklink when using it think path is a command

My first question here. I'm running Windows 8.1 when doing this. cmd mklink /j "d:/project/relx/_build/test/lib/relx/test/rlx_release_SUITE_data/relx-output796596/foo/lib/override_app106921-12.88.71" ...
0
votes
0answers
43 views

Editing the hardlink doesn't edit the original file

I have a file at D:\JavaScript\CheckIban.js, and I want to reuse it in many places without duplicating it. Because when I fix a bug (change its content) I need that change to be propagated to all ...
0
votes
1answer
57 views

Move C:\Users\tachikoma01\AppData\Roaming\Bitcoin to an other hardrive

I have a 120gb ssd and it's full. I want to use bitcoin armory which is going to take up to 50gb. And even if the software is installed on my G: hard drive, the software is still downloading datas to ...
0
votes
1answer
35 views

Transferring my OneNote - notebook hyperlinks (links to pdf files) to new pc with a new userpath

I have a large onenote-notebook that I have been using for study notes. There are many hyperlinks to pdf files. The problem is that all these hyperlinks refer to paths starting with: "C:\Users\RL..." ...
1
vote
0answers
33 views

mklink: junction actually doesn't work

I did this from cmd.exe as admin mklink /J "C:\Users\absolute\AppData\Roaming\Apple Computer\MobileSync\Backup" "E:\iPhone DATA\iTunes BACKUP” and I see confirmation of Junction in cmd and even do ...
0
votes
0answers
43 views

Making a soft link (MKLINK /D)

Had a recent system crash caused by kicking the power cord out [I](made certain THAT won't happen again)[/I]. I have run CHKDSK /R C: Very simple system C: drive contains Windows 7, application ...
0
votes
0answers
83 views

“mklink” does not want to work

I'm trying to mklink "C:\Users\*****\AppData\Local\Temp" To: "H:\Program Files (x32)\Temp" with bad results. So the full command i have tried is: "C:\Users\*****\AppData\Local\Temp" "H:\Program ...
0
votes
1answer
31 views

How to find hard linked folders via programming

Is it possible to identify if a folder is actually a hard link created by mklink? I want to get folders and subsequent sub-folders. But hard linked folders drops me into a loop.
0
votes
1answer
641 views

Can I use a Symbolic Link to 'move' C:\Users to another drive?

I have an OCZ Agility 3 64GB SSD, and have just downgraded to Windows 7 Professional from Windows 8.1 since I found Windows 8.1 to be too slow when my SSD was filled up. After seeing that this is an ...
0
votes
1answer
421 views

mklink in batch file keep returning insufisent permission

I made a code to execute an simbolic link between my Music folder and the music stored in my other hard drive @ECHO OFF SET /p bn=Band Name : md "%E:\Music\%bn%" SET /p dl=Album Name : mklink /d ...
0
votes
1answer
2k views

Changing Win 8.1 Pro Store App Installation Folder

I have a Dell Venue 8 Pro tablet with Windows 8.1. The c:\ is very limited capacity at only 24GB. With the OS only on the c:\ I just have 8.6GB of free space. So I have added a 64gb SSD to the ...
1
vote
2answers
102 views

Can mklink make portable links?

Is there any way to create portable links in NTFS using mklink? Or it there a better solution? I want to be able to distribute an application in a zip file or folder copy where there is one "real" ...
0
votes
1answer
3k views

How to create a hard link in Windows using mklink command?

I've no problem in creating junctions and symbolic links through mklink, but can't create hard link using this command. It returns "Access denied", have tried on both Windows 7 and 8.1 on different ...
0
votes
1answer
578 views

Can't create symlink on Windows VM's mapped network drive

I have a Server 2008 VM (Parallels 9), and I share a folder from OSX via a mapped network drive "T:". I am trying to make a symlink from one folder on T: to another folder on the same drive, like so: ...
1
vote
1answer
61 views

Windows symlink does not show full path?

Current pwd: C: I created a sample symlink say: mklink /j C:\a C:\b\c Thereafter after i navigate using the symlink: cd a If I execute the 'pwd' command, I see the path as C:\a Is there a ...
5
votes
1answer
6k views

Windows 8 - Moving Users Folder from SSD to HDD - “local volumes are required to complete the operation”, cannot complete system restore

I am trying to move C:\Users (SSD) to B:\Users (HDD) using the following tutorial on a clean install of Windows 8 -> upgraded to 8.1 straight away: ...
1
vote
0answers
232 views

Trying to make a symbolic link to a Powershell script

I'm trying to create a symbolic link with mklink through a Powershell script to a Powershell script on a remote server. this link should come on the desktop of all users. if(!(test-path -path ...
6
votes
3answers
4k views

How to delete Windows NTFS hard link (mklink /h) while original is in use?

On a Windows NTFS file system, I have a file (say, orig.mp3). I open this file, through this path orig.mp3, in such a way that it is in use (say, by playing it in VLC). Then I create a hard link ...
2
votes
0answers
314 views

How do I map my Program Files directory to another disk?

I am trying to map my Program Files (x86) directory on my boot SSD to my secondary drive to save space. I am using this exact command: MKLINK /j \\Server-7\C:\"Program Files (x86)" ...
1
vote
0answers
391 views

Microsoft OneNote 2010 & symbolic links

OneNote uses a simple folder structure to organise its Sections and Sub-Sections - a Section is a file, a Sub-Section is a subfolder within the notebook which contains its own Section files. What I'd ...
2
votes
5answers
307 views

How to copy MS Windows symlink files as is?

I made some symlinks in MS Windows using mklink /D command. But when copy it, Windows Explorer always perform deep copy instead copying symlink itself. How can I just copy the link? I need to send ...
1
vote
1answer
1k views

On Windows 7 how do you check to see if a file is a hardlink? [duplicate]

I just created a hardlink in Windows 7 using mklink. When I use dir the output doesn't indicate that the new hardlink is a hardlink. Instead it looks exactly like the file it is pointing to. Example ...
0
votes
3answers
346 views

Error using mklink to create a 'virtual' folder

I am trying to use mklink so that when accessing c:\Audio it redirects to e:\Audio I have tried mklink /D c:\Audio e:\Audio Which creates a what looks like a shortcut folder in c:\Audio but if I ...
9
votes
1answer
254 views

When should I use hard links as opposed to soft links?

I'm about to start toying around with mklink but I'm still trying to get a real grip on this whole "symlink" thing. In particular, I've noticed there's two types of links - "soft links" and "hard ...
0
votes
1answer
353 views

Windows : how to know if a symbolic link still works

I have lots of symbolic links (windows 7). How to know if there are working or if they are dead (ie original file has been deleted/moved/renamed) ? I tried if not exist mylink.txt echo The link is ...
3
votes
1answer
3k views

In Windows 7, can I create a Symlink or Junction for winsxs or installer folders

I have an SSD as my C:\ drive, and it's only 128 Gig. I'm noticing that the C:\Windows subfolders "winsxs" and "Installer"--both of which I've read numerous places that one should never delete ...
1
vote
1answer
5k views

Creating symbolic link in windows 7 from NAS device

We currently use Carbonite for our file back ups. I have an N.A.S. with a bunch of files on it that I would like Carbonite to back up in addition to the local files on the machine with the Carbonite ...
1
vote
1answer
508 views

Windows Symlink & working directory

I have a directory called apps/myapp/ with a file myapp.exe which uses myapp.dll and some other dlls. Now lets say i want to symlink this to a directory, like one would do in linux. bin/myapp.exe ...
3
votes
1answer
1k views

Use mklink in msys

I understand that Windows later-than-or-equal-to* Vista provides the mklink shell command. I'd like to make use of this from the Msys terminal. Any idea how? When I enter mklink on the msys terminal, ...
1
vote
0answers
3k views

mklink /d not working

I have a folder with my pictures on a network drive. I would like that folder in the pictures library in windows 8. It wouldn't let me add it since the network drive isn't indexed. Windows help said ...
1
vote
1answer
731 views

How to Use Mklink Batch-files with FOR command? (Automatic Junction-Point Recreation)

I'm trying to create a batch-file that creates (DIR) junction points; I commonly use. Bellow is a script, which creates multiple links, to the same location. @echo off for /f %%i in (input.txt) ...
0
votes
0answers
326 views

Mklink to a network share, disconnect results in “location is not available”

I've used mklink in Windows 7 to map a local folder to a network share (the iMac sitting next to me on the gigabit hub at my desk). However, when the iMac goes to sleep, the linked folder becomes ...
0
votes
0answers
234 views

moving User directory failed mlink

I followed this tutorial: move user folder And after restarting my pc and logging in, i get this error message: "C:\Windows\system32\config\systemprofile\Desk top refers to a location that is ...
2
votes
2answers
1k views

remote symbolic link / junction

Might be a pretty obvious one but have had some trouble finding solid answers. I have a directory on a windows network share containing different versions of an application. I would like to have a ...
1
vote
0answers
260 views

Mklink to a password protected folder

I have machine A and a C$ share on machine B. On machine B, I only have access to the share and nothing else (it is password protected). How can I mklink from machine A to the C$ share invoking ...
2
votes
1answer
2k views

Mklink to a password protected folder

I have machine A and a C$ share on machine B. On machine B, I only have access to the share and nothing else (it is password protected). How can I mklink from machine A to the C$ share invoking ...
3
votes
2answers
2k views

Is it possible to create a symlink to a webdav directory on Windows?

I know I can map a webdav folder to a drive letter in Windows, but I need to map ~10 different webdav folders (different servers) and assigning a drive letter would be ugly. Is it somehow possible to ...
3
votes
2answers
3k views

Access is denied on mklink

I am trying to get a symlink working over a network drive. I have already tried suggestions on questions already asked, such as running as administrator and checking if the directory already exists. ...
1
vote
2answers
1k views

Windows hard link taking up space?

On my computer I create a hard link mklink /h git-link.exe git.exe Hardlink created for git-link.exe <<===>> git.exe Now they both take up space 2012-04-17 12:14 AM 6,905,039 ...
9
votes
3answers
18k views

Why can't I make a symbolic link (mklink) even when I'm an administrator [duplicate]

When I run mklink /D "C:\Users\bwilliams\AppData\Roaming\Sublime Text 2" "C:\Users\bwilliams\Dropbox\Sublime Text", I get this error `You do not have sufficient privilege to perform this operation. ...
2
votes
1answer
5k views

How do I mklink junction + move content from C:\Program Files to D:\Program Files?

I have a few applications that absolutely refuse to install into anything but C:\Program Files or C:\Program Files(x86). Changing the registry keys for default install folders doesn't seem to provide ...
1
vote
0answers
1k views

Windows 7 Symlink to network drive root

My Ubuntu server provides storage to my Windows 7 workstation through the use of SMB and network drives. One symlink currently links from a network drive to my iTunes library folder. Within that ...
7
votes
1answer
12k views

How do you make a symbolic link with a relative path using mklink?

This web page implies that it is possible to make symbolic links with relative paths using mklink. I have tried all sorts of ways to make relative symbolic links, but I always end up with an absolute ...
5
votes
3answers
3k views

How to sync files on Windows 7 so Dropbox notices the changes

I want a file on my hard drive in Windows 7 to sync to my public dropbox folder. I can do this with: mklink /H "c:\dropbox\Public\test.txt" "c:\data\test.txt" And the first time after I do this, ...
2
votes
1answer
1k views

Batch files can not be a passed a path with spaces when it is elevated

I am trying to create a batch file that needs to be passed a path and has operations in it that requires elevation (I use mklink in it). Here is how to recreate the problem. Make a .bat file that ...
2
votes
1answer
2k views

How is the “AppData\Local\Application Data\” directory linked?

I deleted "AppData\Local\Application Data\" from my profile and I want to create the link again. My problem is that if I create an mklink to %localappdata%, it behaves differently than the original: ...
4
votes
2answers
3k views

Windows 7 mklink - hard link's attributes (expected !) + contents do not affect the linked file

Now - this is driving me crazy. I created a hard link pointing to a file in my dropbox dir - the link was created inside a folder where this file needs to be in order to be accessed by the programs I ...
3
votes
0answers
3k views

Windows 7 NTFS Symbolic Link - Network Share Availability/Timeout

In Windows 7 and Windows Server 2008, is there a way to quickly detect if the target of a symbolic link is available? For example, a symbolic link is created to a remote share UNC using the ...
1
vote
1answer
458 views

Why can't I create a junction with Dropbox?

Had to relink my Dropbox after some problems and realized that my old Dropbox folder is "My Dropbox" and the new is "Dropbox". I went ahead and renamed the folder so I wouldn't have to download all of ...