📎 AI Summary:
The thread discusses the challenge of synchronizing and accessing multiple files across different virtual folders in Windows. The original poster seeks a solution that allows files to appear simultaneously in all virtual folders with only one write operation, and considers symbolic links as a potential method. After considering the manual effort involved, they contemplate automating the process with batch scripts to create hard links across multiple subfolders.

Labna

New Member
Joined
May 15, 2015
Messages
4
Thread Author #1
Hey,
Link Removed
I'm using many files in many projects and I need to access from another folders.
The links aren't a solution and libraries are link.
The aim is to have total synchronization of all files in all virtual folders and have the file write only once.
The visualization can't be in the other way, because if I create file in Sub 2, the file have to appear in all virtual folder.
I'm sure the solution exist because the folder "C:\Documents and Settings" gather "C:\current user" and "C:\ProgramData"
 

Josephur

Windows Forum Admin
Staff member
Premium Supporter
Microsoft Certified Professional
Joined
Aug 3, 2010
Messages
1,283
I would suggest using symbolic links, via mklink?
 

Solution

Labna

New Member
Joined
May 15, 2015
Messages
4
Thread Author #3
I've really many files to link, I can't do it manually.
So it's maybe possible to build a .bat file to automate the command.
It will be a long work to refresh all "virtual folders", but I did that for solve :
set path=PathTo\Gather\Sub1
set destination=%cd%
cd %path%
for %%i in (*) do mklink /H "%destination%\%%i" "%path%\%%i"

I need a loop to go to the "Sub2" and do the same.
Thanks for the idea Josephur