Map a directory in one disk to a directory of another disk

Source: Internet
Author: User

My site has a lot of sub-domains, each sub-domain corresponding to a directory, almost every directory has users uploaded files. Now I want to separate the files and procedures, but I don't want to change the procedure. So I thought of the directory mapping, but WIN2003 only provided a directory that mapped one disk to another. If I do this, I'll have to build n partition Logic disks: (

Finally found a good software ha

The mapped folder is not a real folder, it is simply a link tag for the operation to turn. so before using the tool to create a mapped folder
Make sure that there is no folder on the target path with the same name as the path we want to map.

That's Raozui. For example:
For example D: The disk actually exists in the D:/backuped_programes folder
C: Disk already exists C:/programes_files folder
To map the folder D drive to C:/programes_files will fail.

。 Now that everything is going to turn, if you want to delete the mapped folder.
The mapped folder generated by Shjunction will also delete the original folder. To delete a mapping also use Shjunction (description as Write)
There is no problem with Microsoft's junction (measured)

。 If the image destination in the source folder is inside the source folder, the result is a dead loop. Oh, like below.


Tools List
Since the operation is very simple, it is determined that the source folder and the mapping point are then applied,
Do not introduce, just list out the people will use it.


Shjunc Small mapping tool with interface (network disk not supported)
Http://www.bitsum.com/shjunc.asp

JUNCTION LINK MAGIC with interface (running on my computer will be an error, it's strange)
Http://www.rekenwonder.com/linkmagic.htm

JUNCTION the command line
Http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
Grammar:
Build map-junction destination Path (must be in NTSF partition) source path
Unmap-junction-d Destination Path

Ntfs-link (not yet tested for network disk support)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.