Questions tagged [directory-junction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

“Documents and Settings” junction is empty / What does it point to?

I dual-boot Windows XP and Windows 7 and unfortunately it looks like it will not be possible to merge the user profiles of the two operating systems. Therefore whenever I clean out the cruft from my ...
5 votes
1 answer
334 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
474 views

How do I create a hard link/junction for multiple folders pointing to a single folder?

Example: D:\Comp\ this directory has these folders - Volume 1 Volume 2 Volume 3 I want to point Volume 1 and Volume 2 to one folder, and Volume 3 to another such that everything looks like this: ...
0 votes
1 answer
416 views

Can't install software when c:\Windows\Installer is Junctioned

When I move all files from c:\Windows\Installer to E:\SymLinked\Installer and then do a mklink /J c:\Windows\Installer E:\SymLinked\Installer, reboot, and then try installing software I get errors ...
0 votes
1 answer
258 views

My default ProgramData path is set to Drive F instead of C (system) for certain programs. How do change it back to normal?

Last year I accidentally moved ProgramData folder to Drive F from C. Realizing that I instantly moved it back and things were going normally until it finally caught up to me. Because of some programs ...
1 vote
1 answer
4k views

Windows 8.1 - mklink to a folder with files in it

I have a directory 'dir1' with some files in it and a directory 'dir2' where I'll add some files. How can I create a link/junction (or just connect them)? I tried "mklink /D (or /J) dir1 dir2" but ...
0 votes
1 answer
546 views

Directory junction equivalent for ext4

In the NTFS, directory junctions used as hard links for a directory. However, on the ext4 file system, no such equivalent exists (to accomplish this task, you have to make a symbolic link). Is there ...
1 vote
1 answer
802 views

Create junction between OneDrive Music folder and Google Drive on Windows 10

I have all of my music stored on Google Drive, which I can access on my laptop at C:\Users\{USERNAME}\Google Drive\Music I am trying to set up a junction between this folder and the OneDrive Music ...
0 votes
1 answer
884 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->...
0 votes
0 answers
285 views

Removing user profile junction point

Initial state: My user account profile (on my Windows 10 system) was on C:\Users\<my account>.  Due to partition size limitations, I created a folder on E:\Users\<my account> and created a ...
2 votes
0 answers
78 views

How to know the actual number of bytes that will be freed if I delete a directory with unsaturated hardlinks

I need to know the real space a directory is using in Windows. By real space I mean the number of bytes that will be freed up if I remove the directory with the Windows explorer. In other words: ...
5 votes
2 answers
3k views

Directory Junction keeps being deleted

I have upgraded from Windows 7 to 10 Professional on an SSD and I have created Directory Junctions, using command line mklink /J, for folders like Games, Mozilla Profiles, etc. pointing to a HDD ...
1 vote
0 answers
47 views

Use shared directory as read-only source of multiple distinct target directories - Windows 10

I have a source folder which I want to use as a starting point for multiple distinct target folders. This can be trivially done by copy-pasting the source folder, then just using the new directories. ...
2 votes
0 answers
3k views

Difference between Volume IDs and Volume Serial Numbers? And can Volume IDs be addressed?

The Volume Serial Number (VSN) looks like this: 1A79-B12A And can be found using the 'dir' or 'vol' command in Windows without any switches. Volume GUID looks like this: 4523b23c-5fca-22c5-7ac2-...
1 vote
1 answer
481 views

Representation of junctions in Windows

I'm using a set of junctions to move my user folder tree to another drive, as my OS install is on a rather small SSD. However, the junctions still appear as if they occupy space on the SSD. Can I do ...
-1 votes
1 answer
1k views

Can I move one folder from c:\ProgramData to different drive using junction?

i`m using win 10, Can I move one folder from c:\ProgramData to different drive using junction and keep software which has data in that folder fully functional? and please can you write how to write a ...
0 votes
1 answer
1k views

Symbolic links vs Junction vs Mapped drive

I want to know what the 'proper' way to have files always be connected and available for use that are on a network drive. I have a problem with Quickbooks (badly developed, I must say) where it gives ...
2 votes
1 answer
338 views

How to make an exact copy of a directory to an another partition?

I have a 20Gb folder on an ntfs drive. How can I make an exact of only that folder to an another ntfs volume? By exact, I mean, copy pemissions; keep directories hard links (if any); and keep ...
1 vote
2 answers
6k views

create a folder which links multiple folders

Suppose there are directories as below: D:\SVN1\a\xml D:\SVN1\b\xml D:\SVN1\c\xml D:\SVN1\d\xml and D:\SVN2\xml I would like to merge all xml folders/files under a b c d of SVN1 and link the same ...
0 votes
2 answers
1k views

How to map two folders to an another one on Windows?

I need to show content of 2 directories on another one on the same machine by the easiest way. Third folder should be looks like it has all files and subdirectories of the source. Files should be ...
0 votes
1 answer
129 views

Using junction.exe for Windows 8 only creates a directory to copy to and is not protecting the targetted directory

I am using junction.exe for Windows 8 with commands like these D:\Downloads\Junction\junction.exe D:\Temp\Sandbox\ C:\Sandbox\ D:\Downloads\Junction\junction.exe D:\Temp\AppData C:\Users\User\AppData\...
1 vote
3 answers
5k views

How can I store encfs6.xml in another location (and still make it detectable)?

How can I make encfs4win search for the encfs6 file in another location? I tried modifying the encfs_mount.cmd file at the end, like so: set ENCFS6_CONFIG=c:/test1/.encfs6.xml %pathtoencfs%encfs -...
2 votes
1 answer
7k views

How do I mklink junction + move content from C:\Program Files to D:\Program Files?

I have a few applications that absolutely refuse to install into anything but C:\Program Files or C:\Program Files(x86). Changing the registry keys for default install folders doesn't seem to provide ...