Question

This question shows that cygwin’s soft links are somewhat different from ntfs junctions. I’d like cygwin to create a real junction. I thought about running mklink but, hell, there is no mklink.exeApparently, it’s part of the shell command. There I’m stuck.

Any idea how I can do that on a script ?

Was it helpful?

Solution

Found the answer, running cmd.exe /c mklink /j name target did the job. I leave the answer here in case someone runs into the same trouble.

EDIT: Added /j switch as pointed out by Ken Williams in the comments.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top