Link to home
Start Free TrialLog in
Avatar of IT Guy
IT GuyFlag for United States of America

asked on

Need correct syntax for using Symbolic Links to make one folder appear as if it is located within another folder

Can you please provide me with the exact syntax of the Symbolic Links command I would use that will allow the folder path "C:\Users\[UserName]\Google" to appear as if it is located within the "C:\Users\[Username]\Box Sync" folder so that the contents of folders within the "C:\Users\[UserName]\Google" will be backed up by Box.com even though it is actually located in the other folder.


This needs to be done since Box.com will only backup folders that are located within the Box Sync folder. Folders in other paths can't be selected to be backed up unless they are contained within the Box Sync folder. Therefore I need to find a way of insuring that Box.com will backup these other folder locations since I am unable to move the folders and data located within the "C:\Users\[UserName]\Google" folder to a different location.

This needs to be done within Windows 10 and can be done using Symbolic Links. I just need to know the correct syntax and how to set this up using Symbolic Links.

These URLs discuss Symbolic Links:

MSDN Forums

Symbolic Links

Hard Links and Junctions

Also please let me know if any further information is needed.
Avatar of NVIT
NVIT
Flag of United States of America image

Avatar of IT Guy

ASKER

Yes it is. The problem is that I'm busy working on other things right now which is why I'm asking in this question exactly how to complete this task using Symbolic Links in this question.

Further information on Symbolic Links is located here: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365680(v=vs.85).aspx.
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IT Guy

ASKER

pcelba,

Can you please provide me with the steps on how to create a Hard Link?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IT Guy

ASKER

And these junctions (softlinks) and Symbolic Links remain in place even after the computer is rebooted?
Yes, they behave like other file system entries.