Questions tagged [mklink]

mklink is a Windows command line utility that manages NTFS symbolic links, hard links, and directory junctions, included in versions NT 6.0 (Vista/Server 2008) and higher.

The mklink utility's primary function is to manage NTFS symbolic links. The command was introduced in Windows Vista and Windows Server 2008 (NT 6.0), in which full functionality was added to Windows. It can also be used to manage s and a type of symlink called a "directory " (a subcategory of ), although hard links and reparse points were available in earlier versions of Windows NT and are managed with .

Documentation

84 questions
0
votes
1 answer

How to mask a folder name differently to WSL?

I am using Microsoft's OneDrive for Business provided by our university to sync big junks of data. I'm also using using a software to run some simulations which is not available for windows and I have to use WSL. Now the issue is that OneDrive…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193
0
votes
1 answer

Creating a symbolic link in a WiX installer using relative paths

I have been trying to do something like what is posted here about creating a symbolic link in a WiX installer. It explains how to make a add-on that will make a symbolic link. However that is not what I am looking for. I am trying to use somtething…
0
votes
1 answer

I'm having exception errors, file not found

When i try to run this function it keep crashing when the process starts. public static void MapDestinationToSource (string destination, string source) { System.Diagnostics.Process proc = new System.Diagnostics.Process (); // set the file to…
Eugene Lim
  • 269
  • 3
  • 15
0
votes
1 answer

How to browse to website outside of htdocs from remote computer

I have read other answers here on this site, but they only answer part of my question. I have XAMPP for Windows 7.2.0-0 on my computer. I have partitioned my hard drive to add an E: drive. My htdocs folder is in C: drive and I have a FQDN pointing…
Sheepherder
  • 47
  • 1
  • 2
  • 10
0
votes
2 answers

Creating a Directory Junction on a remote machine from c# code running on a web server

I am running C# code from my web application that needs to create a Directory Junction on a remote machine, with a target folder which is also on the same remote machine. I am using JunctionPoint.cs library from…
Ram_P
  • 55
  • 1
  • 6
0
votes
2 answers

Handling Double Quotes when creating soft links

I am trying to create some soft links with R and I am having a hard time with the single and double quotes. Currently, I am doing this: system(paste("mklink /d '", paste0(softlink,"/input_data"),"' '", Inputfolder, "'", sep="")) Where: softlink =…
0
votes
1 answer

Mklink Via Drag And Drop Onto Batch

What I need is a batch file that when I drag a file onto it it creates a hardlink with the link name the same as the file dropped onto the script with (HL) added to link name. e.g. test.txt [original] --> test(HL).txt [hardlink] I've tried using…
DTM450
  • 3
  • 3
0
votes
0 answers

No speed-up after using MKL for Eigen

I use Eigen 3.3 and Intel MKL 2017, and write and run program in Visual Studio 2012 with Win-7 64-bit system and Intel Xeon(R) CPU E5-1620 v2@3.70GHZ CPU. I belive that my configuration for MKL is correct, because I can succesfully run MKL examlpe…
olivia
  • 381
  • 3
  • 14
0
votes
1 answer

Copy/link GitHub repository to a folder

So I have got a github repo, that I use. I would like that every time it updates (there was a new commit), that those files would copy over to my PC. I have tried using a mklink in the command prompt, but that doesn't seem to work. Any ideas?
Tvde1
  • 1,246
  • 3
  • 21
  • 41
0
votes
1 answer

mklink + git issues - why wont it let me link?

I'm trying to make a hard link of my .bash_profile into my dotfiles repo on my HDD. I can't get it to work and I don't know why. mklink - type - link - target mklink /H "F:Documents\Repos\dotfiles\.bash_profile" "C:\Users\name\.bash_profile" This…
eternalNoob
  • 307
  • 2
  • 10
0
votes
1 answer

Ask for drive to create dynamic path within a command of a batch file

The title is a bit odd, but I want to create a hard link to a folder where the user specifies the drives. The command is mklink /j and I need %driveone%:\Fixed\Path and %drivetwo%:\Fixed\Path as it's variables. Anyone know how I can prompt the input…
Maud Kon
  • 135
  • 8
0
votes
0 answers

NFS drive attached using mklink on windows can not be accessed by unprivileged users

I am calling cmd.exe /c mklink /d C:\LOCAL\PATH \\REMOTE\PATH from cygwin as Admin and the drive can be accessed from multiple Admin's sessions as expected. However, my point is to use it by unprivileged local users as well. I have changed the owner…
Oliver Gondža
  • 3,386
  • 4
  • 29
  • 49
0
votes
0 answers

Using mklink to sync game saves between PCs

I have three computers on a network that I want to have the same Terraria Characters on each. I'm pretty sure that mklink in the Command Prompt has the capability to do this. I have an NAS that I've been using as a brigde. I've played around with it…
Caleb
  • 33
  • 1
  • 12
0
votes
2 answers

mingw32-make + mklink... just not getting along?

Not sure if anyone else has gotten this to work, but I'm having no end of trouble even with the following simple line in my Makefile running mingw32-make: mklink Mk Makefile The following created the link, but mingw32-make puked and threw error 255…
Engineer
  • 8,529
  • 7
  • 65
  • 105
0
votes
1 answer

Using a link/junction between web servers

I am trying to figure a way of connecting 2 web server's file systems together so they can access each others files natively. The servers are Windows 2012 and connected directly to the internet via public IPs. One server will be for storing large…
CrazyChris
  • 147
  • 1
  • 2
  • 13