Questions tagged [junction]

A junction (also called a soft link) is a symbolic link of a special type of file that contains a reference to another file or directory. Junctions can link directories located on different local volumes on the same computer. Otherwise, junctions operate identically to hard links. Junctions are implemented through reparse points.

120 questions
3
votes
3 answers

Select from intersection / junction tables

Many times just find the right article and reading it on StackOverflow helped me through a lot of stuff that I didn't know what to do with but for the first time, I think I need to write one. I've been searching for the correct answer on this prob…
Ascendant
  • 827
  • 2
  • 16
  • 34
2
votes
1 answer

Linq/C# Getting information from junction table

Im recently struggling with problem related to Linq data exposition. My task is to extract information out of 3 tables. One, which contains list of the resources and the other one with information about related services. These two tables are joined…
michaelpan
  • 21
  • 1
2
votes
2 answers

Triggering a toast from a listener

I'm using an external package defining a JunctionActor. The idea is that a JunctionActor can send JSON messages to a remote server via a method called sendMessage and receive messages via a listener calling onMessageReceived. In my implementation,…
Flavian Hautbois
  • 2,940
  • 6
  • 28
  • 45
2
votes
0 answers

Windows Resource Monitor does not work with Junction Points

Several of the observations that the Windows Resource Monitor provides is the disk queue length, latency, and throughput. However, only partitions that are assigned drive letters show up in the Resource Monitor. Therefore, disks that are used as…
Brain2000
  • 4,655
  • 2
  • 27
  • 35
2
votes
1 answer

.NET Junction Directories and DirectInfo issues

I am trying to access information under C:\Users\Public\Documents\ which displays as C:\Users\Public\Public Documents\ on explorer. Is there a way to be able to access the DirectoryInfo of a directory under the junction using the pathname displayed…
Daryl
  • 548
  • 4
  • 9
2
votes
1 answer

How to edit and change Junction link target paths in Windows 10

I'm having a problem that appears to have stemmed from a fresh install of Windows 10. Somewhere during the install, user name "ars_n" must have been created. I researched how to change the User name from "ars_n" to "n8mdp" which I was successful at…
2
votes
0 answers

What's the difference between Symbolic Link <=> Junction <=> Shortcut?

In Windows using NTFS file system there are 3 different possiblities to create links to folders. (For files there are 2 possibilities: hard links and shortcuts.) A shortcut is a .lnk file which has several hundred bytes that contains the link…
Michael Hutter
  • 1,064
  • 13
  • 33
2
votes
3 answers

C# follow folder junctions with FileSystemWatcher

Is it possible to configure a FileSystemWatcher to watch other folders which are linked in with a folder junction point? for example: You are watching D: You have D:\junction which points to E:\folder When I create a file in E:\folder\file.txt I…
fpdragon
  • 1,867
  • 4
  • 25
  • 36
2
votes
1 answer

Node.js symlink junctions are broken on Windows?

First, here's the code: const FS = require('fs'); const OS = require('os'); const symlinkType = OS.platform() === 'win32' ? 'junction' : 'file'; FS.symlink(target, path, symlinkType, err => { if(err) { console.error(`Failed to create…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
2
votes
2 answers

Does cygwin understand NTFS junction points?

Does cygwin (1.7.x) understand Windows NTFS junction points (as created by mklink in Win7/2008 or sysinternals' junction.exe)? How do they differ from a symbolic link as created by "ln -s "?
Peter Mounce
  • 4,105
  • 3
  • 34
  • 65
2
votes
2 answers

On Windows/NTFS can a symbolic link be moved to another computer?

For the purposes of a security test involving Windows servers, I would like to attempt uploading a Symbolic link to a Windows web application. However, based on the information officially available, it is unclear whether Windows hard links (Which I…
MrSynAckSter
  • 1,681
  • 1
  • 18
  • 34
2
votes
1 answer

SQL Junction query with 3 table references

I'm looking to identify from my data input all wine bottles purchased from danmurphys that were produced in 2012. My query syntax isn't right and I'm not sure what I'm doing wrong. Your help would be much appreciated :) CREATE TABLE…
2
votes
2 answers

Code to determine target of remote junction

Windows 7/NTFS and later has both symbolic links and junctions, and they are subtly different. (See this excellent set of posts). For logging (and debugging) purposes, I need to be able to resolve the target of a junction on a remote file server. …
David I. McIntosh
  • 2,038
  • 4
  • 23
  • 45
2
votes
1 answer

EF 6, code first junction table name

I am experimenting with custom naming convenctions in EF 6. I have 2 tables and one junction table (WebUser, UserRequest, WebUserUserRequest). I have written function that should be able to rename tables: from WebUser to web_user private string…
2
votes
5 answers

What is the accepted method to delete records referenced by a junction/join table?

I have three tables as follows, with NO cascading relationships (I do not want this, as the database is primarily managed by NHibernate). Invoice ( entity_id int not null, ... ) Ticket ( entity_id int not null, …
Jon Seigel
  • 12,251
  • 8
  • 58
  • 92