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.
102
questions
0
votes
2
answers
22
views
Sudo equivalent under windows: mklink, runas requires password, whereas opening an Administrator cmd doesn't
Sometimes I run into the wild idea of creating a symbolic link à la Windows using MKLINK. However, that immediately shouts at me that I'm not privileged enough to do so. My user is an admin, but not ...
0
votes
0
answers
31
views
problems creating symbolic links in Windows10
I cannot do mklink, not even as administrator (account 'admin'). I get the message "You don't have sufficient privileg..." or "Access denied".
What I tried to do is this, as ...
0
votes
1
answer
84
views
Resilient file or directory linking or automatic link updating?
Is there a file or directory link method that would be dynamic/resilient against target change?
I mean if I create a link mklink /d test c:\test I can change the link name after but not rename/move ...
0
votes
0
answers
23
views
System linking user to another user in C:\Users\ under windows 10
I'm working with a large set of CAD Drawings under company dropbox, where it has been the pattern to absolutely link referenced files.
Example of a referenced file: C:\Users\paul\Dropbox (Company Name)...
0
votes
0
answers
198
views
mklink: Cannot create a file
I'm trying to link my game save location to a different location so that I can stop there being multiple random game save folders clogging up my documents. I'm using mklink with the following command:
...
0
votes
1
answer
165
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 ...
2
votes
1
answer
350
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:>...
1
vote
0
answers
214
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 ...
1
vote
0
answers
574
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 ...
0
votes
2
answers
460
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. ...
1
vote
2
answers
45
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. ...
0
votes
1
answer
210
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 ...
6
votes
4
answers
24k
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:\) ...
5
votes
1
answer
277
views
Windows 10 mklink to c:/originalDirectory which preserves original files if they are deleted from the linked directory
I'm on Windows 10.
Imagine that I have a directory c:\originalDirectory and I create a link at c:\newDirectory by doing mklink /d c:\newDirectory c:\originalDirectory.
My question is about the files ...
0
votes
1
answer
148
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
1
answer
5k
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
0
answers
67
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
0
answers
163
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
1
answer
160
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
0
answers
325
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
0
answers
159
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
1
answer
734
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->...
3
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
├╴ ...
2
votes
0
answers
114
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 ...
2
votes
1
answer
9k
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
1
answer
608
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 ...
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 ...
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 ...
0
votes
1
answer
1k
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
3
answers
9k
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
0
answers
162
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
0
answers
230
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
1
answer
721
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
1
answer
51k
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
2
answers
15k
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
0
answers
335
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 ...
4
votes
2
answers
7k
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
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 ...
1
vote
1
answer
114
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
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 "...
1
vote
1
answer
33
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
1
answer
1k
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
1
answer
448
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
0
answers
46
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 (...
28
votes
5
answers
42k
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
1
answer
243
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
1
answer
4k
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
1
answer
549
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
1
answer
246
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
0
answers
298
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
...