0
votes
1answer
65 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
0answers
62 views

mklink /j vs mklink /d on multiple machines and with file shares

I'm starting to use cloud sharing solutions (e.g., Dropbox, SpiderOak) to backup and sync files between various machines I use. When doing this I've decided to place all my backups under a given ...
0
votes
1answer
148 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 ...
1
vote
1answer
37 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
418 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
161 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 ...
0
votes
1answer
208 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 ...
1
vote
1answer
250 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 ...
1
vote
1answer
682 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
2answers
712 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 ...
3
votes
1answer
1k 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 ...
1
vote
2answers
1k 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
838 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 ...
7
votes
1answer
9k 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 ...
2
votes
1answer
1k 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: ...
1
vote
1answer
400 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 ...
15
votes
4answers
10k 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
717 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 ...
5
votes
1answer
842 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)?