Advanced folder architecture

Discussion in 'Windows 7 Help and Support' started by Labna, May 15, 2015.

  1. Labna

    Labna New Member

    Joined:
    May 15, 2015
    Messages:
    4
    Likes Received:
    0
    Hey,
    [​IMG]
    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"
     
  2. Josephur

    Josephur Windows Forum Admin
    Staff Member Premium Supporter

    Joined:
    Aug 3, 2010
    Messages:
    1,019
    Likes Received:
    125
    I would suggest using symbolic links, via mklink?
     
  3. Labna

    Labna New Member

    Joined:
    May 15, 2015
    Messages:
    4
    Likes Received:
    0
    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
     

Share This Page

Loading...