New
#110
If the Target is the file / folder that exists, and the link is the created one that links to the target.
mklink /d "<target folder>" "<link to target>"
Why do I get the; cannot create file when that file already exists ?
If the Target is the file / folder that exists, and the link is the created one that links to the target.
mklink /d "<target folder>" "<link to target>"
Why do I get the; cannot create file when that file already exists ?
It is the other way around:
<symb_link_folder> <source folder>
mklink /D C:\Work "%USERPROFILE%\desktop\folder"
Trying to create at the same place of target folder? Copy paste the command you are trying to run.
mklink /d "<source folder>" "<target folder>"
mklink /d "<target folder>" "<source folder>"
For example; one sub-folder is nested three layers deep called "master files"
X:\Users\[folder]\[folder]\master_files
the next folder is located in X:\Master Files
You'll save youself a lot of heartache if you use this tool to create them.https://github.com/amd989/Symlinker
Kado - I know, I want to understand why the vanilla method won't work.
Gokay - The target folder does not have the same name as the source folder, but all the sub-folders of the source folder to which I want to link to the target folder must have the same name.
The target folder and the source folder should have the same name otherwise it would be pointless for what I'm trying to achieve unless it doesn't matter if the source and target folder name are different as long as the sub-folders remain the same; but I won't know if this is valid until I ever get the symbolic link to work ?
Target folder does not need to have the same name as the source folder. You don't need to do anything to sub-folders, they are already there with their original names.Gokay - The target folder does not have the same name as the source folder, but all the sub-folders of the source folder to which I want to link to the target folder must have the same name.
Now you are telling the opposite of what you said above.The target folder and the source folder should have the same name otherwise
You still have not told us exactly what you are trying to achieve.
Example: I want to move a program to another place without re-installing.
- I move the program's installation folder to the other place
- Create a symlink to the new location from the old one so any calls to the program gets re-directed to the new one seamlessly
- In this case symlink should be named same as the original folder but the relocated folder can be named anything
- Any subfolders are still accessible with the same Explorer address
Apparently you are at fault somewhere. Why not give the real folder structure and what goes where and some more detail instead of vague expressions, and then we can find out what's going on.