Questions tagged [mklink]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

Trying to backup iPhone to external HDD on windows using iTunes mklink

I'm a total noob at this, I'm trying to backup my iPhone on a Windows 10 PC to an external HDD because the SDD internal is too small. The drive I'm trying to backup to is D Drive. This following ...
user avatar
0 votes
1 answer
14 views

Windows 7: create symbolic directory link from NAS to NAS

T: is a NAS. I want to have a symbolic link allowing me to choose which of several hierarchies is the "current version" of something. I've tried the following as normal user: C:>T: T:>...
user avatar
1 vote
0 answers
47 views

Windows - can I alias a local folder to a "spoofed" non-existent UNC name?

I am troubleshooting code that runs on a customer's network. I have all the data files and configuration files from the customer and am setting about trying to reproduce the issue. The problem is ...
user avatar
  • 1,536
1 vote
0 answers
169 views

Permission problems when accessing symlinks via sftp and scp on Windows Server 2019 with OpenSSH

I set up OpenSSH on a Windows Server 2019 machine and now I'm able to access the machine via ssh from my Windows 10 client. Then I created a folder on the Windows Server which contains several ...
user avatar
0 votes
1 answer
224 views

Can't delete folders/files within a symbolic link or junction mklink

I used mklink to create a symbolic link /d to a hard drive. Now, even though I am the owner, confirmed by the "Take Ownership" process, I cannot delete files located in this symbolic link. ...
user avatar
0 votes
0 answers
24 views

mklink /j folder says I am out of space when I am not

I have multiple drives for my media which I want to all appear as one drive using mlink /j junction. Videos (F:) is a 12TB HDD which contains TV Shows, Concerts, Music Videos, Etc I have linked the ...
user avatar
1 vote
2 answers
31 views

Why hard-linked texts are linked but images are not? The images act like different files

I used mklink /H 2.txt 1.txt to create a hard link of 1.txt. When I changed one file, the other file was changed, too. But when I did the same thing for a PNG image file, the changes were not shared. ...
user avatar
0 votes
1 answer
97 views

how to link (with mklink) existing 'pictures' folder with already existing 'pictures' folder in onedrive

This might sound a bit complicated. I need to explain the history of my problem. Few years ago I found a helpfull hint to get your local pictures folder included in onedrive by adding a hard link ...
user avatar
6 votes
3 answers
15k views

Can I move the C:\Users folder to D:\ drive?

Basically, the problem goes like this: I own a Windows 10 PC with 32 GB EMMC storage which caters to my need of sending mails, doing basic typing etc. There is a slot to insert a MicroSD card (D:\) ...
user avatar
  • 956
4 votes
1 answer
141 views

Windows 10 mklink to c:/originalDirectory which preserves original files if they are deleted from the linked directory

Updated: I want to do something, but I don't know how and I suspect that it isn't possible. I'm on Windows 10. Imagine that I have a directory c:\originalDirectory and I create a link at c:\...
user avatar
0 votes
1 answer
113 views

`mklink /j` with some files ignored

I use this command to backup files in OneDrive mklink /j "path_in_onedrive" "path_to_backup" Sometimes there are huge files in path_to_backup that I donot need, is there a way work like .gitignore ...
user avatar
  • 101
1 vote
1 answer
3k views

mklink fails to create symlink on network drive

On Windows 10. Here's what I type, and Windows' response: mklink "path\to\link.pdf" "path\to\target.pdf" Access is denied. The desired location for the link is on a network drive. It makes no ...
user avatar
1 vote
0 answers
60 views

Using external drive to backup iPhone – issues with backup now on both locations

I used the instructions to establish a link to an external drive in mklink error: Cannot create a file when that file already exists, but now have both the C: and the external drive D: with a backup ...
user avatar
  • 11
0 votes
0 answers
99 views

Mklink File Type Link Chrome Browser Downloading Files

How do you use mklink to make PDF Files when downloaded go to a certain directory. I want only that file type to go to a directory in my documents folder called PDF So each time i download a PDF ...
user avatar
  • 9
0 votes
1 answer
73 views

Understanding Junction

Most games I play stores its "save" data files in either "C:\Users\ShortQuestion\My Documents" or "C:\Users\ShortQuestion\Saved Games" Since I don't want all these save files filling up my C ...
user avatar
2 votes
0 answers
65 views

Delete symbolic link to c:\ when not being able to access c:\

I know how to create and delete symbolic links, but now I have a specific problem. I wanted to create a symbolic link from c:\mydata to d:\mydata, but forgot the first parameter, so I entered from c:\:...
user avatar
  • 21
0 votes
0 answers
103 views

Can/should I make a junction from C:\Program Files or DriverStore to my D drive?

I've got this really annoying setup on my laptop, where I've got a teeny little 128 GB SSD for my system drive, and a really generous 1TB HDD. Which does me no freakin' good when a whole bunch of ...
user avatar
  • 1,467
0 votes
1 answer
589 views

Using Junction, Symbolic Links, Location and simple move commands

Here is my setup * Bios is UEFI with Legacy Support * c:\ is a SSD Samsung 850 Evo 500GB. Single GPT, with NTFS partition. Over Provisioning is at the end of the drive in Administrative Tools->...
user avatar
2 votes
1 answer
2k views

Shortcut or symlink within OneDrive

Is it possible on Microsoft OneDrive 2018 to have either a shortcut or a symlink (e.g. made using mklink) to another folder within the same OneDrive sync? Specifically, is this possible: OneDrive ├╴ ...
user avatar
  • 143
2 votes
0 answers
87 views

Music metadata missing after mklink

I have successfully linked my NAS music folder to my Windows Music Library but there is a problem with the metadata within the symbolic linked folder. I did this with MKLINK In the original folder on ...
user avatar
1 vote
1 answer
7k views

"File already exists" when targeting external drive with mklink

I'm trying to relocate a backup folder to an external hard drive with mklink. When I run the command I get the error "the file already exists" (that's the Korean underneath the command): (The won ...
user avatar
  • 11
1 vote
1 answer
486 views

How can I synchronize a folder FROM my C drive TO my Dropbox folder?

I'm trying to use Dropbox to synchronize some folders that are outside my dropbox folder on my computer. My dropbox folder is placed on my secondary hard drive which is an ordinary mechanical hard ...
user avatar
1 vote
1 answer
2k views

mklink demands administrative privileges despite secpol.msc's "create symbolic links" permission being set and despite running cygwin's editrights

This is not a duplicate , because I tried the solution here How do I create a link in Windows 7 home premium as a regular user? and another solution too that I mention, and it didn't work and i'm ...
user avatar
  • 21.6k
0 votes
1 answer
1k views

FSUTIL HARDLINK CREATE ERROR: ACCESS IS DENIED

Trying to create hardlink to a folder in the same directory, on the same drive. H:\ParentFolder>fsutil hardlink create fldr01hrdlnk folder01 Error: Access is denied H:\ParentFolder>fsutil ...
user avatar
  • 133
0 votes
1 answer
925 views

Is it safe to configure the default Documents folders of two users to be symbolic links to the same folder on another drive?

In other words: There are two user profiles on a Windows 10 PC. Let's call them User_A and User_B. A Documents folder already exists on D:. Using an elevated command prompt... Navigate to c:\users\...
user avatar
0 votes
3 answers
8k views

Create a relative symbolic link in Windows 10 for file copies

I'm going to drastically simplify everything I have tried. For exact details, please review the CMD screenshot. I want to create a RELATIVE PATH symbolic link named [ RESOURCES ] at the following ...
user avatar
0 votes
0 answers
156 views

Is it possible to create global .lnk Windows' files? [duplicate]

I tried to research for this, but nothing was clear to me. I'm a true newbie when talking about coding, as it has been a while I don't work with it. All I've found was VB, and some weird hex registry ...
user avatar
  • 335
0 votes
0 answers
209 views

Need symbolic link functionality WITHOUT symbolic pathname

Running Windows 10 Pro. I am trying to work around the 260 character MAX_PATH limitation native to the Win32 API. I have created a series of backups, which we'll say are designed to back up "...
user avatar
1 vote
1 answer
608 views

Suppress output of MKLINK /J?

I am looking to have a batch file, where it suppresses the mklink output. I do not want the user to see the path. I was able to do this with > nul and robocopy. mklink /J "newpath" "originalpath" ...
user avatar
3 votes
1 answer
44k views

Difference between MKLINK /D and /J (Symbolic link and junction)

I have a SSD, and a RamDisk in other disc drive. I use MKLINK /D to move Google Chrome cache, from my SSD to my RamDisk. Please, my questions are: With MKLINK /D, where physically is my cache? SSD? ...
user avatar
2 votes
2 answers
14k views

Mklink - Symbolic Link with NAS & Onedrive

I have a NAS Storage drive on the network and want to link files from that to my onedrive account... details below.. W:\FILES\SUPERUSER (MAPPED DRIVE FROM NAS) linked to C:\ONEDRIVE\FILES (LOCAL ...
user avatar
2 votes
0 answers
276 views

mklink - subfolders named with non-ASCII characters are inaccessible

I've used mklink to create a a directory symbolic link to a network drive: mklink /d "music" "\\192.168.2.1\mybook\music\" This works fine. However, when trying to access sub-folders via that link ...
user avatar
  • 121
3 votes
2 answers
6k views

Can I create a Windows Junction (Symbolic Link) aliased to a Drive Letter?

I have a bunch of data files on an E:\ drive. I'm moving all of that to a new computer and would like to consolidate many small drives (E, P) to one larger drive. But I want all the programs ...
user avatar
  • 5,026
2 votes
0 answers
1k views

mklink directory junctions are inaccessible on Windows 10

I created a junction with the mklink command on Windows 7 and it worked great for the past 2 years. (EDIT: I have now verified that this exact scenario/problem still exists on a brand new laptop with ...
user avatar
  • 233
1 vote
1 answer
84 views

Symlink prompting “Open with” [duplicate]

I can create a symlink: > mklink bravo.png alfa.png symbolic link created for bravo.png <<===>> alfa.png However this is on a virtual machine. For some reason if I create one on ...
user avatar
  • 9,630
3 votes
0 answers
1k views

Symbolic link doesn't work across drives

I'm on Windows 10. Running the command: mklink /D "G:\test" "C:\test" ...Is successful. However, in explorer when I double click the folder on G:\ and try to access any file in there, it says "...
user avatar
  • 41
1 vote
1 answer
31 views

Issues after Hard Drive Failure - Used Mklink, Uninstalled/Reinstalled, Game won't launch

Ok quick background: My system is set up ssd for os and some programs and hdd for secondary programs/storage. I used mklink a while back to link the a game folder in C:\Program Data to a location ...
user avatar
0 votes
1 answer
987 views

mklink /J created to "Computer"

In trying to create a junction link for my iTunes backup folder, I accidentally pointed to a directory called "Computer/MediaSync" This occurred because I forgot to use quotation marks around the ...
user avatar
0 votes
1 answer
387 views

Symbolic link - How does it work?

Using Windows 7 Overview- I have an SSD and HDD installed in my computer. I would like to have all data files (ie AppData) saved to the HDD, this way I avoid unnecessary read/writes to the SSD. Goal-...
user avatar
  • 117
0 votes
0 answers
44 views

What (specifically) happens when you have Win7 move default user folders?

In C:\Users\Myself, I right-click on Videos folder, select "location" tab, click "Move" button, and enter "D:\Videos" as new location; then confirm that this location is added to the Videos library (...
user avatar
  • 63
27 votes
5 answers
40k 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: https://serverfault.com/q/...
user avatar
  • 795
0 votes
1 answer
215 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" ...
user avatar
  • 1
3 votes
1 answer
3k 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 ...
user avatar
0 votes
1 answer
523 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 ...
user avatar
0 votes
1 answer
216 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..." ...
user avatar
1 vote
0 answers
269 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 ...
user avatar
  • 11
0 votes
1 answer
49 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.
user avatar
1 vote
2 answers
11k 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 ...
user avatar
  • 2,272
1 vote
1 answer
2k 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 "E:\...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 4,535