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
0answers
15 views

Symbolic links and folder permissions

OS - Win 2012 problem - server has application that was installed with a service account. application writes huge dump files to C:\Users\xxxx\AppData\Local\Temp instead of the application drive which ...
0
votes
0answers
8 views

Unable to crete mklink Onedrive business account

I am trying to create a symbolic link on my to redirect the Local folder to Onedrive. I am pretty sure the syntax is correct but cannot understand how to clear this error. I have tried both commands ...
0
votes
0answers
16 views

MKLINK doesn´t work (sync) on Windows Server 2016

MKlink doesn´t work on Windows Server 2016. The folder is created, but it doesn´t sync. Files are on Drive G: and link should be on C: Trying to use for a Dropbox or Google Drive syncing. Could anyone ...
0
votes
1answer
39 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 ...
1
vote
1answer
164 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 ...
1
vote
0answers
44 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 ...
0
votes
0answers
75 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 ...
0
votes
1answer
52 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 ...
2
votes
0answers
42 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:\:...
0
votes
0answers
43 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 ...
0
votes
1answer
136 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->...
1
vote
1answer
1k 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 ├╴ ...
2
votes
0answers
79 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
304 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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
627 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 ...
0
votes
1answer
551 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\...
0
votes
3answers
5k 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 ...
0
votes
0answers
124 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 ...
0
votes
0answers
201 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 "...
1
vote
1answer
402 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" ...
3
votes
1answer
31k 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? ...
2
votes
2answers
12k 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 ...
2
votes
0answers
225 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 ...
2
votes
1answer
3k 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 ...
2
votes
0answers
878 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 ...
1
vote
1answer
67 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 ...
3
votes
0answers
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 "...
1
vote
1answer
29 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 ...
0
votes
1answer
696 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 ...
0
votes
1answer
279 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-...
0
votes
0answers
42 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 (...
24
votes
5answers
32k 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/...
0
votes
1answer
188 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" ...
3
votes
1answer
2k 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
439 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
173 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
258 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
1answer
48 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
2answers
7k 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 ...
1
vote
1answer
1k 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:\...
0
votes
1answer
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 ...
3
votes
2answers
470 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" ...
3
votes
3answers
29k 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
2k 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
182 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 way ...
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: http://webcache.googleusercontent.com/search?q=...
1
vote
1answer
1k 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 \$...
10
votes
3answers
25k 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 (...