You can provide both unavailable network path or non-existing drive letter, folder structure etc.Īs in Linux, if you delete a symlink, you’re of course deleting only link, not the destination folder and it’s contents. Notice, that mklink does not checks, if destination exists. But, suprisingly (or not?) Windows will claim that “C:NewTrendsCorp” (in this example), not real network path, is unavailable, which again might be a little bit confusing. If symlinked network path is unavailable, you’ll see a proper message. Mklink /D C:\NewTrendsCorp \\ThunderServer\Customers\Current\Premium\New\Trends\Corp The second approach seems to be more useful, as you can make high-level folder (symlink) pointing to deep-level network structure: You can provide both local folder or network path. This is fixed and you can’t change it ( Change icon option is disabled in Properties window). When you browse to the symlink, you’ve just created, you’ll see that it has a normal folder icon, with shortcut overlay (normally used for file shortcuts) over it. You should see a message confirming creation of a symlink. Mklink /D C:\Photos D:\Documents\Photos\My You can use mklink command for this purpouse. While Microsoft required years and years to provide Windows users with this useful command. This is something that Linux has from the very, very beginning and what is so obvious for Linuks users like the fact, that sun rises. These are called symlinks or symbolic links. I see message saying that D:\Photos folder is not available. I can’t confirm that, at least on my Windows 7. There are some rumors, that you can achieve exactly the same by simply using Map Network Drive and browsing to a local folder instead of network path. To get more options of this command, but there aren’t much that I missed! :] If you are OK with that, then paste above command to C:\autoexec.bat (create one using Notepad, if you’re missing this file) to have your subst’ed drives ready on each system startup. This new drive will also have disk size and free space the same as source one, which might be confusing at some point. Depending on version of the system, you’re using, either you’ll see “Invalid label” error message after any attempt of changing substituted drive or you’ll change source drive label as well. Now, you have an F: drive that points to a contents of your D:\Photos folder.ĭisadvantages? Your newly created drive will have label the same as source drive (D: in this example) and you can’t change it. Run command line ( cmd) and type following: The subst command has been around since the early days of DOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |