Using Junction, Symbolic Links, Location and simple move commands












0















Here is my setup
* Bios is UEFI with Legacy Support
* c: is a SSD Samsung 850 Evo 500GB. Single GPT, with NTFS partition. Over Provisioning is at the end of the drive in Administrative Tools->Computer Management -> Disk Management with the




  • e: iS a HDD WD 4TB, also GPT, with NTFS partitions. Currently only e: is a NTFS partition, the rest of the space remained unused, not formatted and no drive letter assigned. Later on when I get my games installing, I might split possible somewhere but won't be. The Drive is Black Caviar WD brand new.


  • A third drive is going to be added to the system as well, using GPT and NTFS partition format, it could change how I partition the WD 4tb above. This drive will be a Seagate 3TB (used by me only for cloning my current desktop computer primary drive)


  • Windows 7 64bit Service Pack 1. Installed on c: and with all settings at default. once install was done, I hooked up my E: drive and so it wasn't seen during the Windows Install or Service Pack 1 install.



Will only be dealing with Directories. No individual files are involved in this problem, however the files in the folders would be affected by where they are located, otherwise, no files involved.



Problem.

Samsung SSD is 500GB.

I want to reduce the wear and tear on the drive.



Causes
* from writing (perhaps a file I download)
* reading (reading a Word Doc I created)
* deletion of files and/or folders




  • Part of Solution:
    *WD 4TB Black Caviar will be the storage drive using drive letter e:


What I know and don't know and the confusion in trying to find a solution
I want to store commonly used folders that have a great deal of writing, saving, deletion onto my e: WD 4tb drive.



I have spent almost 3 days on this I am even more lost and confused than when I started. Words like Junction, Reparse, Link, Target, Hard Link, Soft Link, Symbolic link, Location, move vs link, etc.



So I want to leave the folders on c: that are used by programs and windows, either via the install of applications or those that were created by default with the Windows install. I want the data to reside in the e: or HDD WD 4tb.



From what I have learned any folder that use "My" in it is not a folder that can use mklink. It might have a location tab if you right click on the folder and find the "location" tab. I learned that you cannot move User, Windows, Program Files/Program Files (x86) and other key Windows folders.



The general purpose behind "linking" (which I use to refer to these words, mklink, symbolic link, directory link, hard link, soft link) is allowing you to store files and or folders either on the same volume or a different physical drive (in my case e: - WD 4tb).



The problem is finding the right mklink /switch "original location" "stored location" or more proper "link" "target".



A chart found on this site showed the drawbacks to using a junction and symbolic link. https://stackoverflow.com/questions/9042542/what-is-the-difference-between-ntfs-junction-points-and-symbolic-links it ends up leaving me unable to know what I am suppose to do.



I started with a simple folder to link to my 4tb from the SSD, downloads (normal location c:UsersUsernameDownloads). Attempts to use
mklink /j "c:UsersUsernameDownloads" "e:UsersUsernameDownloads" would always lead to error of "cannot create a file when that file exist."



I then tried location under the property tabs for the folder "downloads" and changed the location to e:UsersUserNameDownloads. I clicked on move, it asked if I wanted to move the files, which I said yes. Now the Download folder vanished from c:UsersUsername and appeared now on e:UsersUser NameDownloads. I also tried this with My Video and it relocated the contents of the folder to my e: drive.



That leaves me where I am now with being unable to do what I had planned to do with my SSD and HDD, where SSD would be the OS boot and application install drive. The larger 4TB HDD would then store things like temp files, google/firefox/ie cache, downloads, videos, documents and other files/folders that change constantly (wearing down of SSD) yet maintain the original Folder or Files in their original location on C: by doing symbolic/junction/location linked.



When I tried downloads, it just deleted the original folder on c and had the contents on e: . When I tried to download something the download folder wasn't on c so I had to save it to e: and as mentioned the c:UserTimDownloads was not listed.



CASE TEST/STUDY
So lets take the following folders: (using fictional first name for username)
c:UsersTimDownloads
c:UsersTimMy Videos
c:UsersTimDesktop
c:UsersTimMy Pictures



Location for them to be stored will be (wanted to use same folder name that is on the c: SSD as a way to always know where they came from)
e:UsersTimDownloads
e:UsersTimVideos
e:UsersTimDesktop
e:UsersTimMy Pictures



Please tell me just how I am to determine whether Symbolic Link, Hard Link, Junction via mklink or Location to have the data stored on the HDD and not the SSD, while leaving the original folders on C: so other programs that use the 4 folder above example will save them to what it thinks is going to be stored on C: SSD when in actuality the data will be stored on e: HDD instead.



OTHER ISSUES
One other curious thing I learned or saw in reading, that when I look in that original directory on C: it will still list the files that are now on e: so are they not still using the space or is it just an image/copy of what is actually on E: and those files are not taking up any room on C:



How do I undo the damage I might have done to my videos, downloads, desktop on the boot drive while avoiding a reinstall or restoration, still want to keep this install as clean as possible so just fixing the links/locations that might not be right or icons for the folders of those folders involved not showing up.



The last problem is deleting such mklinks /j /h /d or combo of 2 or all three. Sites say to remove the directory where the files are currently stored, but nothing happens and the junction and the location on e: still shows when I do a dir /a on c:UsersTim



I know this was longer than I thought, but I wanted or hoped to avoid any misuse of words or terms to avoid confusion, so thank you for reading.



Thank you,










share|improve this question





























    0















    Here is my setup
    * Bios is UEFI with Legacy Support
    * c: is a SSD Samsung 850 Evo 500GB. Single GPT, with NTFS partition. Over Provisioning is at the end of the drive in Administrative Tools->Computer Management -> Disk Management with the




    • e: iS a HDD WD 4TB, also GPT, with NTFS partitions. Currently only e: is a NTFS partition, the rest of the space remained unused, not formatted and no drive letter assigned. Later on when I get my games installing, I might split possible somewhere but won't be. The Drive is Black Caviar WD brand new.


    • A third drive is going to be added to the system as well, using GPT and NTFS partition format, it could change how I partition the WD 4tb above. This drive will be a Seagate 3TB (used by me only for cloning my current desktop computer primary drive)


    • Windows 7 64bit Service Pack 1. Installed on c: and with all settings at default. once install was done, I hooked up my E: drive and so it wasn't seen during the Windows Install or Service Pack 1 install.



    Will only be dealing with Directories. No individual files are involved in this problem, however the files in the folders would be affected by where they are located, otherwise, no files involved.



    Problem.

    Samsung SSD is 500GB.

    I want to reduce the wear and tear on the drive.



    Causes
    * from writing (perhaps a file I download)
    * reading (reading a Word Doc I created)
    * deletion of files and/or folders




    • Part of Solution:
      *WD 4TB Black Caviar will be the storage drive using drive letter e:


    What I know and don't know and the confusion in trying to find a solution
    I want to store commonly used folders that have a great deal of writing, saving, deletion onto my e: WD 4tb drive.



    I have spent almost 3 days on this I am even more lost and confused than when I started. Words like Junction, Reparse, Link, Target, Hard Link, Soft Link, Symbolic link, Location, move vs link, etc.



    So I want to leave the folders on c: that are used by programs and windows, either via the install of applications or those that were created by default with the Windows install. I want the data to reside in the e: or HDD WD 4tb.



    From what I have learned any folder that use "My" in it is not a folder that can use mklink. It might have a location tab if you right click on the folder and find the "location" tab. I learned that you cannot move User, Windows, Program Files/Program Files (x86) and other key Windows folders.



    The general purpose behind "linking" (which I use to refer to these words, mklink, symbolic link, directory link, hard link, soft link) is allowing you to store files and or folders either on the same volume or a different physical drive (in my case e: - WD 4tb).



    The problem is finding the right mklink /switch "original location" "stored location" or more proper "link" "target".



    A chart found on this site showed the drawbacks to using a junction and symbolic link. https://stackoverflow.com/questions/9042542/what-is-the-difference-between-ntfs-junction-points-and-symbolic-links it ends up leaving me unable to know what I am suppose to do.



    I started with a simple folder to link to my 4tb from the SSD, downloads (normal location c:UsersUsernameDownloads). Attempts to use
    mklink /j "c:UsersUsernameDownloads" "e:UsersUsernameDownloads" would always lead to error of "cannot create a file when that file exist."



    I then tried location under the property tabs for the folder "downloads" and changed the location to e:UsersUserNameDownloads. I clicked on move, it asked if I wanted to move the files, which I said yes. Now the Download folder vanished from c:UsersUsername and appeared now on e:UsersUser NameDownloads. I also tried this with My Video and it relocated the contents of the folder to my e: drive.



    That leaves me where I am now with being unable to do what I had planned to do with my SSD and HDD, where SSD would be the OS boot and application install drive. The larger 4TB HDD would then store things like temp files, google/firefox/ie cache, downloads, videos, documents and other files/folders that change constantly (wearing down of SSD) yet maintain the original Folder or Files in their original location on C: by doing symbolic/junction/location linked.



    When I tried downloads, it just deleted the original folder on c and had the contents on e: . When I tried to download something the download folder wasn't on c so I had to save it to e: and as mentioned the c:UserTimDownloads was not listed.



    CASE TEST/STUDY
    So lets take the following folders: (using fictional first name for username)
    c:UsersTimDownloads
    c:UsersTimMy Videos
    c:UsersTimDesktop
    c:UsersTimMy Pictures



    Location for them to be stored will be (wanted to use same folder name that is on the c: SSD as a way to always know where they came from)
    e:UsersTimDownloads
    e:UsersTimVideos
    e:UsersTimDesktop
    e:UsersTimMy Pictures



    Please tell me just how I am to determine whether Symbolic Link, Hard Link, Junction via mklink or Location to have the data stored on the HDD and not the SSD, while leaving the original folders on C: so other programs that use the 4 folder above example will save them to what it thinks is going to be stored on C: SSD when in actuality the data will be stored on e: HDD instead.



    OTHER ISSUES
    One other curious thing I learned or saw in reading, that when I look in that original directory on C: it will still list the files that are now on e: so are they not still using the space or is it just an image/copy of what is actually on E: and those files are not taking up any room on C:



    How do I undo the damage I might have done to my videos, downloads, desktop on the boot drive while avoiding a reinstall or restoration, still want to keep this install as clean as possible so just fixing the links/locations that might not be right or icons for the folders of those folders involved not showing up.



    The last problem is deleting such mklinks /j /h /d or combo of 2 or all three. Sites say to remove the directory where the files are currently stored, but nothing happens and the junction and the location on e: still shows when I do a dir /a on c:UsersTim



    I know this was longer than I thought, but I wanted or hoped to avoid any misuse of words or terms to avoid confusion, so thank you for reading.



    Thank you,










    share|improve this question



























      0












      0








      0








      Here is my setup
      * Bios is UEFI with Legacy Support
      * c: is a SSD Samsung 850 Evo 500GB. Single GPT, with NTFS partition. Over Provisioning is at the end of the drive in Administrative Tools->Computer Management -> Disk Management with the




      • e: iS a HDD WD 4TB, also GPT, with NTFS partitions. Currently only e: is a NTFS partition, the rest of the space remained unused, not formatted and no drive letter assigned. Later on when I get my games installing, I might split possible somewhere but won't be. The Drive is Black Caviar WD brand new.


      • A third drive is going to be added to the system as well, using GPT and NTFS partition format, it could change how I partition the WD 4tb above. This drive will be a Seagate 3TB (used by me only for cloning my current desktop computer primary drive)


      • Windows 7 64bit Service Pack 1. Installed on c: and with all settings at default. once install was done, I hooked up my E: drive and so it wasn't seen during the Windows Install or Service Pack 1 install.



      Will only be dealing with Directories. No individual files are involved in this problem, however the files in the folders would be affected by where they are located, otherwise, no files involved.



      Problem.

      Samsung SSD is 500GB.

      I want to reduce the wear and tear on the drive.



      Causes
      * from writing (perhaps a file I download)
      * reading (reading a Word Doc I created)
      * deletion of files and/or folders




      • Part of Solution:
        *WD 4TB Black Caviar will be the storage drive using drive letter e:


      What I know and don't know and the confusion in trying to find a solution
      I want to store commonly used folders that have a great deal of writing, saving, deletion onto my e: WD 4tb drive.



      I have spent almost 3 days on this I am even more lost and confused than when I started. Words like Junction, Reparse, Link, Target, Hard Link, Soft Link, Symbolic link, Location, move vs link, etc.



      So I want to leave the folders on c: that are used by programs and windows, either via the install of applications or those that were created by default with the Windows install. I want the data to reside in the e: or HDD WD 4tb.



      From what I have learned any folder that use "My" in it is not a folder that can use mklink. It might have a location tab if you right click on the folder and find the "location" tab. I learned that you cannot move User, Windows, Program Files/Program Files (x86) and other key Windows folders.



      The general purpose behind "linking" (which I use to refer to these words, mklink, symbolic link, directory link, hard link, soft link) is allowing you to store files and or folders either on the same volume or a different physical drive (in my case e: - WD 4tb).



      The problem is finding the right mklink /switch "original location" "stored location" or more proper "link" "target".



      A chart found on this site showed the drawbacks to using a junction and symbolic link. https://stackoverflow.com/questions/9042542/what-is-the-difference-between-ntfs-junction-points-and-symbolic-links it ends up leaving me unable to know what I am suppose to do.



      I started with a simple folder to link to my 4tb from the SSD, downloads (normal location c:UsersUsernameDownloads). Attempts to use
      mklink /j "c:UsersUsernameDownloads" "e:UsersUsernameDownloads" would always lead to error of "cannot create a file when that file exist."



      I then tried location under the property tabs for the folder "downloads" and changed the location to e:UsersUserNameDownloads. I clicked on move, it asked if I wanted to move the files, which I said yes. Now the Download folder vanished from c:UsersUsername and appeared now on e:UsersUser NameDownloads. I also tried this with My Video and it relocated the contents of the folder to my e: drive.



      That leaves me where I am now with being unable to do what I had planned to do with my SSD and HDD, where SSD would be the OS boot and application install drive. The larger 4TB HDD would then store things like temp files, google/firefox/ie cache, downloads, videos, documents and other files/folders that change constantly (wearing down of SSD) yet maintain the original Folder or Files in their original location on C: by doing symbolic/junction/location linked.



      When I tried downloads, it just deleted the original folder on c and had the contents on e: . When I tried to download something the download folder wasn't on c so I had to save it to e: and as mentioned the c:UserTimDownloads was not listed.



      CASE TEST/STUDY
      So lets take the following folders: (using fictional first name for username)
      c:UsersTimDownloads
      c:UsersTimMy Videos
      c:UsersTimDesktop
      c:UsersTimMy Pictures



      Location for them to be stored will be (wanted to use same folder name that is on the c: SSD as a way to always know where they came from)
      e:UsersTimDownloads
      e:UsersTimVideos
      e:UsersTimDesktop
      e:UsersTimMy Pictures



      Please tell me just how I am to determine whether Symbolic Link, Hard Link, Junction via mklink or Location to have the data stored on the HDD and not the SSD, while leaving the original folders on C: so other programs that use the 4 folder above example will save them to what it thinks is going to be stored on C: SSD when in actuality the data will be stored on e: HDD instead.



      OTHER ISSUES
      One other curious thing I learned or saw in reading, that when I look in that original directory on C: it will still list the files that are now on e: so are they not still using the space or is it just an image/copy of what is actually on E: and those files are not taking up any room on C:



      How do I undo the damage I might have done to my videos, downloads, desktop on the boot drive while avoiding a reinstall or restoration, still want to keep this install as clean as possible so just fixing the links/locations that might not be right or icons for the folders of those folders involved not showing up.



      The last problem is deleting such mklinks /j /h /d or combo of 2 or all three. Sites say to remove the directory where the files are currently stored, but nothing happens and the junction and the location on e: still shows when I do a dir /a on c:UsersTim



      I know this was longer than I thought, but I wanted or hoped to avoid any misuse of words or terms to avoid confusion, so thank you for reading.



      Thank you,










      share|improve this question
















      Here is my setup
      * Bios is UEFI with Legacy Support
      * c: is a SSD Samsung 850 Evo 500GB. Single GPT, with NTFS partition. Over Provisioning is at the end of the drive in Administrative Tools->Computer Management -> Disk Management with the




      • e: iS a HDD WD 4TB, also GPT, with NTFS partitions. Currently only e: is a NTFS partition, the rest of the space remained unused, not formatted and no drive letter assigned. Later on when I get my games installing, I might split possible somewhere but won't be. The Drive is Black Caviar WD brand new.


      • A third drive is going to be added to the system as well, using GPT and NTFS partition format, it could change how I partition the WD 4tb above. This drive will be a Seagate 3TB (used by me only for cloning my current desktop computer primary drive)


      • Windows 7 64bit Service Pack 1. Installed on c: and with all settings at default. once install was done, I hooked up my E: drive and so it wasn't seen during the Windows Install or Service Pack 1 install.



      Will only be dealing with Directories. No individual files are involved in this problem, however the files in the folders would be affected by where they are located, otherwise, no files involved.



      Problem.

      Samsung SSD is 500GB.

      I want to reduce the wear and tear on the drive.



      Causes
      * from writing (perhaps a file I download)
      * reading (reading a Word Doc I created)
      * deletion of files and/or folders




      • Part of Solution:
        *WD 4TB Black Caviar will be the storage drive using drive letter e:


      What I know and don't know and the confusion in trying to find a solution
      I want to store commonly used folders that have a great deal of writing, saving, deletion onto my e: WD 4tb drive.



      I have spent almost 3 days on this I am even more lost and confused than when I started. Words like Junction, Reparse, Link, Target, Hard Link, Soft Link, Symbolic link, Location, move vs link, etc.



      So I want to leave the folders on c: that are used by programs and windows, either via the install of applications or those that were created by default with the Windows install. I want the data to reside in the e: or HDD WD 4tb.



      From what I have learned any folder that use "My" in it is not a folder that can use mklink. It might have a location tab if you right click on the folder and find the "location" tab. I learned that you cannot move User, Windows, Program Files/Program Files (x86) and other key Windows folders.



      The general purpose behind "linking" (which I use to refer to these words, mklink, symbolic link, directory link, hard link, soft link) is allowing you to store files and or folders either on the same volume or a different physical drive (in my case e: - WD 4tb).



      The problem is finding the right mklink /switch "original location" "stored location" or more proper "link" "target".



      A chart found on this site showed the drawbacks to using a junction and symbolic link. https://stackoverflow.com/questions/9042542/what-is-the-difference-between-ntfs-junction-points-and-symbolic-links it ends up leaving me unable to know what I am suppose to do.



      I started with a simple folder to link to my 4tb from the SSD, downloads (normal location c:UsersUsernameDownloads). Attempts to use
      mklink /j "c:UsersUsernameDownloads" "e:UsersUsernameDownloads" would always lead to error of "cannot create a file when that file exist."



      I then tried location under the property tabs for the folder "downloads" and changed the location to e:UsersUserNameDownloads. I clicked on move, it asked if I wanted to move the files, which I said yes. Now the Download folder vanished from c:UsersUsername and appeared now on e:UsersUser NameDownloads. I also tried this with My Video and it relocated the contents of the folder to my e: drive.



      That leaves me where I am now with being unable to do what I had planned to do with my SSD and HDD, where SSD would be the OS boot and application install drive. The larger 4TB HDD would then store things like temp files, google/firefox/ie cache, downloads, videos, documents and other files/folders that change constantly (wearing down of SSD) yet maintain the original Folder or Files in their original location on C: by doing symbolic/junction/location linked.



      When I tried downloads, it just deleted the original folder on c and had the contents on e: . When I tried to download something the download folder wasn't on c so I had to save it to e: and as mentioned the c:UserTimDownloads was not listed.



      CASE TEST/STUDY
      So lets take the following folders: (using fictional first name for username)
      c:UsersTimDownloads
      c:UsersTimMy Videos
      c:UsersTimDesktop
      c:UsersTimMy Pictures



      Location for them to be stored will be (wanted to use same folder name that is on the c: SSD as a way to always know where they came from)
      e:UsersTimDownloads
      e:UsersTimVideos
      e:UsersTimDesktop
      e:UsersTimMy Pictures



      Please tell me just how I am to determine whether Symbolic Link, Hard Link, Junction via mklink or Location to have the data stored on the HDD and not the SSD, while leaving the original folders on C: so other programs that use the 4 folder above example will save them to what it thinks is going to be stored on C: SSD when in actuality the data will be stored on e: HDD instead.



      OTHER ISSUES
      One other curious thing I learned or saw in reading, that when I look in that original directory on C: it will still list the files that are now on e: so are they not still using the space or is it just an image/copy of what is actually on E: and those files are not taking up any room on C:



      How do I undo the damage I might have done to my videos, downloads, desktop on the boot drive while avoiding a reinstall or restoration, still want to keep this install as clean as possible so just fixing the links/locations that might not be right or icons for the folders of those folders involved not showing up.



      The last problem is deleting such mklinks /j /h /d or combo of 2 or all three. Sites say to remove the directory where the files are currently stored, but nothing happens and the junction and the location on e: still shows when I do a dir /a on c:UsersTim



      I know this was longer than I thought, but I wanted or hoped to avoid any misuse of words or terms to avoid confusion, so thank you for reading.



      Thank you,







      windows-7 symbolic-link mklink file-location directory-junction






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 25 at 15:11







      The Accountant

















      asked Jan 25 at 14:59









      The AccountantThe Accountant

      174




      174






















          1 Answer
          1






          active

          oldest

          votes


















          0














          When it comes to files in your profile, the way to move these is by using explorer, right-click the folder, go to the Location tab and set a new path, then either choose to move the files or don't. I recommend pressing the move button so it moves your folder there. This will change the registry part and will ensure that any future windows update or upgrade will work as desired.



          That said, in order to work with symbolic links or junctions you need to first move the folder to the destination, then create the symbolic link in its place.



          Assuming you move c:usersMyUserDocuments to d:profileDocuments the mklink command (run as administrator) would be as follows



          mklink /j c:usersMyUserDocuments d:profiledocuments


          If your path has spaces, don't forget to put that space in quotes. For example:



          mklink /j "c:usersMy UserDocuments" "d:profilemoved documents"





          share|improve this answer
























          • When I have I tried location and it moved the files, the original folder is deleted (assume c:->e: apps that use to save to those folders on c: now ask for a new location versus being tricked into using old folder which is gone. Am I correct about any folder with "My...." don't touch? Folders with that shortcut icon in the bottom left I assume are junction/hard link/soft link/symbolic links. I look at Links, Downloads and they all have special icons merged with the folder (essentially the icon isn't the normal folder icon). How do I get back to what I had if I attempted and it didn't workout

            – The Accountant
            Jan 25 at 16:05











          • Yes, you move the location of those folders, but all programs if programmed well should respect the move. If not, then you indeed need to place a placeholder junction afterwards as described in the rest of the answer.

            – LPChip
            Jan 25 at 16:58











          • okay let me give it a try in regards to a folder in the profile section. Since the comment section I think has a time out limit (meaning amount of time to post/edit) I will respond below this with results.

            – The Accountant
            Jan 27 at 4:20











          • Okay went and created Downloads on E:. Went to C drive and clicked on Downloads, properties, location and changed it to a matching directory on E:UsersTimDownloads. Then I went back to C drive and created the folder Downloads in the c:UsersTim I then type out mklink /j "c:UsersTimDownloads" "e:UsersTimDownloads" and got the Cannot create a file when that file already exists. error message.

            – The Accountant
            Jan 27 at 7:19






          • 1





            Sorry to add to the comment. I went back to C:UsersTim and deleted the folder downloads. I then used the same command from c:UsersTim (just in case location matters) and then ran the command mklink /J "c:UsersTimDownloads" "e:UsersTimDownloads" and it responded with Junction created for c:UsersTimDownloads <<===>> e:UsersTimDownloads That still leaves me confused do I have to delete the folder I want to do a junction/symbolic/hard/soft link that was relocated by location tab by not creating a new folder? Now have Downloads with a shortcut icon on C:

            – The Accountant
            Jan 27 at 7:23













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398402%2fusing-junction-symbolic-links-location-and-simple-move-commands%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          When it comes to files in your profile, the way to move these is by using explorer, right-click the folder, go to the Location tab and set a new path, then either choose to move the files or don't. I recommend pressing the move button so it moves your folder there. This will change the registry part and will ensure that any future windows update or upgrade will work as desired.



          That said, in order to work with symbolic links or junctions you need to first move the folder to the destination, then create the symbolic link in its place.



          Assuming you move c:usersMyUserDocuments to d:profileDocuments the mklink command (run as administrator) would be as follows



          mklink /j c:usersMyUserDocuments d:profiledocuments


          If your path has spaces, don't forget to put that space in quotes. For example:



          mklink /j "c:usersMy UserDocuments" "d:profilemoved documents"





          share|improve this answer
























          • When I have I tried location and it moved the files, the original folder is deleted (assume c:->e: apps that use to save to those folders on c: now ask for a new location versus being tricked into using old folder which is gone. Am I correct about any folder with "My...." don't touch? Folders with that shortcut icon in the bottom left I assume are junction/hard link/soft link/symbolic links. I look at Links, Downloads and they all have special icons merged with the folder (essentially the icon isn't the normal folder icon). How do I get back to what I had if I attempted and it didn't workout

            – The Accountant
            Jan 25 at 16:05











          • Yes, you move the location of those folders, but all programs if programmed well should respect the move. If not, then you indeed need to place a placeholder junction afterwards as described in the rest of the answer.

            – LPChip
            Jan 25 at 16:58











          • okay let me give it a try in regards to a folder in the profile section. Since the comment section I think has a time out limit (meaning amount of time to post/edit) I will respond below this with results.

            – The Accountant
            Jan 27 at 4:20











          • Okay went and created Downloads on E:. Went to C drive and clicked on Downloads, properties, location and changed it to a matching directory on E:UsersTimDownloads. Then I went back to C drive and created the folder Downloads in the c:UsersTim I then type out mklink /j "c:UsersTimDownloads" "e:UsersTimDownloads" and got the Cannot create a file when that file already exists. error message.

            – The Accountant
            Jan 27 at 7:19






          • 1





            Sorry to add to the comment. I went back to C:UsersTim and deleted the folder downloads. I then used the same command from c:UsersTim (just in case location matters) and then ran the command mklink /J "c:UsersTimDownloads" "e:UsersTimDownloads" and it responded with Junction created for c:UsersTimDownloads <<===>> e:UsersTimDownloads That still leaves me confused do I have to delete the folder I want to do a junction/symbolic/hard/soft link that was relocated by location tab by not creating a new folder? Now have Downloads with a shortcut icon on C:

            – The Accountant
            Jan 27 at 7:23


















          0














          When it comes to files in your profile, the way to move these is by using explorer, right-click the folder, go to the Location tab and set a new path, then either choose to move the files or don't. I recommend pressing the move button so it moves your folder there. This will change the registry part and will ensure that any future windows update or upgrade will work as desired.



          That said, in order to work with symbolic links or junctions you need to first move the folder to the destination, then create the symbolic link in its place.



          Assuming you move c:usersMyUserDocuments to d:profileDocuments the mklink command (run as administrator) would be as follows



          mklink /j c:usersMyUserDocuments d:profiledocuments


          If your path has spaces, don't forget to put that space in quotes. For example:



          mklink /j "c:usersMy UserDocuments" "d:profilemoved documents"





          share|improve this answer
























          • When I have I tried location and it moved the files, the original folder is deleted (assume c:->e: apps that use to save to those folders on c: now ask for a new location versus being tricked into using old folder which is gone. Am I correct about any folder with "My...." don't touch? Folders with that shortcut icon in the bottom left I assume are junction/hard link/soft link/symbolic links. I look at Links, Downloads and they all have special icons merged with the folder (essentially the icon isn't the normal folder icon). How do I get back to what I had if I attempted and it didn't workout

            – The Accountant
            Jan 25 at 16:05











          • Yes, you move the location of those folders, but all programs if programmed well should respect the move. If not, then you indeed need to place a placeholder junction afterwards as described in the rest of the answer.

            – LPChip
            Jan 25 at 16:58











          • okay let me give it a try in regards to a folder in the profile section. Since the comment section I think has a time out limit (meaning amount of time to post/edit) I will respond below this with results.

            – The Accountant
            Jan 27 at 4:20











          • Okay went and created Downloads on E:. Went to C drive and clicked on Downloads, properties, location and changed it to a matching directory on E:UsersTimDownloads. Then I went back to C drive and created the folder Downloads in the c:UsersTim I then type out mklink /j "c:UsersTimDownloads" "e:UsersTimDownloads" and got the Cannot create a file when that file already exists. error message.

            – The Accountant
            Jan 27 at 7:19






          • 1





            Sorry to add to the comment. I went back to C:UsersTim and deleted the folder downloads. I then used the same command from c:UsersTim (just in case location matters) and then ran the command mklink /J "c:UsersTimDownloads" "e:UsersTimDownloads" and it responded with Junction created for c:UsersTimDownloads <<===>> e:UsersTimDownloads That still leaves me confused do I have to delete the folder I want to do a junction/symbolic/hard/soft link that was relocated by location tab by not creating a new folder? Now have Downloads with a shortcut icon on C:

            – The Accountant
            Jan 27 at 7:23
















          0












          0








          0







          When it comes to files in your profile, the way to move these is by using explorer, right-click the folder, go to the Location tab and set a new path, then either choose to move the files or don't. I recommend pressing the move button so it moves your folder there. This will change the registry part and will ensure that any future windows update or upgrade will work as desired.



          That said, in order to work with symbolic links or junctions you need to first move the folder to the destination, then create the symbolic link in its place.



          Assuming you move c:usersMyUserDocuments to d:profileDocuments the mklink command (run as administrator) would be as follows



          mklink /j c:usersMyUserDocuments d:profiledocuments


          If your path has spaces, don't forget to put that space in quotes. For example:



          mklink /j "c:usersMy UserDocuments" "d:profilemoved documents"





          share|improve this answer













          When it comes to files in your profile, the way to move these is by using explorer, right-click the folder, go to the Location tab and set a new path, then either choose to move the files or don't. I recommend pressing the move button so it moves your folder there. This will change the registry part and will ensure that any future windows update or upgrade will work as desired.



          That said, in order to work with symbolic links or junctions you need to first move the folder to the destination, then create the symbolic link in its place.



          Assuming you move c:usersMyUserDocuments to d:profileDocuments the mklink command (run as administrator) would be as follows



          mklink /j c:usersMyUserDocuments d:profiledocuments


          If your path has spaces, don't forget to put that space in quotes. For example:



          mklink /j "c:usersMy UserDocuments" "d:profilemoved documents"






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 25 at 15:40









          LPChipLPChip

          36.2k55486




          36.2k55486













          • When I have I tried location and it moved the files, the original folder is deleted (assume c:->e: apps that use to save to those folders on c: now ask for a new location versus being tricked into using old folder which is gone. Am I correct about any folder with "My...." don't touch? Folders with that shortcut icon in the bottom left I assume are junction/hard link/soft link/symbolic links. I look at Links, Downloads and they all have special icons merged with the folder (essentially the icon isn't the normal folder icon). How do I get back to what I had if I attempted and it didn't workout

            – The Accountant
            Jan 25 at 16:05











          • Yes, you move the location of those folders, but all programs if programmed well should respect the move. If not, then you indeed need to place a placeholder junction afterwards as described in the rest of the answer.

            – LPChip
            Jan 25 at 16:58











          • okay let me give it a try in regards to a folder in the profile section. Since the comment section I think has a time out limit (meaning amount of time to post/edit) I will respond below this with results.

            – The Accountant
            Jan 27 at 4:20











          • Okay went and created Downloads on E:. Went to C drive and clicked on Downloads, properties, location and changed it to a matching directory on E:UsersTimDownloads. Then I went back to C drive and created the folder Downloads in the c:UsersTim I then type out mklink /j "c:UsersTimDownloads" "e:UsersTimDownloads" and got the Cannot create a file when that file already exists. error message.

            – The Accountant
            Jan 27 at 7:19






          • 1





            Sorry to add to the comment. I went back to C:UsersTim and deleted the folder downloads. I then used the same command from c:UsersTim (just in case location matters) and then ran the command mklink /J "c:UsersTimDownloads" "e:UsersTimDownloads" and it responded with Junction created for c:UsersTimDownloads <<===>> e:UsersTimDownloads That still leaves me confused do I have to delete the folder I want to do a junction/symbolic/hard/soft link that was relocated by location tab by not creating a new folder? Now have Downloads with a shortcut icon on C:

            – The Accountant
            Jan 27 at 7:23





















          • When I have I tried location and it moved the files, the original folder is deleted (assume c:->e: apps that use to save to those folders on c: now ask for a new location versus being tricked into using old folder which is gone. Am I correct about any folder with "My...." don't touch? Folders with that shortcut icon in the bottom left I assume are junction/hard link/soft link/symbolic links. I look at Links, Downloads and they all have special icons merged with the folder (essentially the icon isn't the normal folder icon). How do I get back to what I had if I attempted and it didn't workout

            – The Accountant
            Jan 25 at 16:05











          • Yes, you move the location of those folders, but all programs if programmed well should respect the move. If not, then you indeed need to place a placeholder junction afterwards as described in the rest of the answer.

            – LPChip
            Jan 25 at 16:58











          • okay let me give it a try in regards to a folder in the profile section. Since the comment section I think has a time out limit (meaning amount of time to post/edit) I will respond below this with results.

            – The Accountant
            Jan 27 at 4:20











          • Okay went and created Downloads on E:. Went to C drive and clicked on Downloads, properties, location and changed it to a matching directory on E:UsersTimDownloads. Then I went back to C drive and created the folder Downloads in the c:UsersTim I then type out mklink /j "c:UsersTimDownloads" "e:UsersTimDownloads" and got the Cannot create a file when that file already exists. error message.

            – The Accountant
            Jan 27 at 7:19






          • 1





            Sorry to add to the comment. I went back to C:UsersTim and deleted the folder downloads. I then used the same command from c:UsersTim (just in case location matters) and then ran the command mklink /J "c:UsersTimDownloads" "e:UsersTimDownloads" and it responded with Junction created for c:UsersTimDownloads <<===>> e:UsersTimDownloads That still leaves me confused do I have to delete the folder I want to do a junction/symbolic/hard/soft link that was relocated by location tab by not creating a new folder? Now have Downloads with a shortcut icon on C:

            – The Accountant
            Jan 27 at 7:23



















          When I have I tried location and it moved the files, the original folder is deleted (assume c:->e: apps that use to save to those folders on c: now ask for a new location versus being tricked into using old folder which is gone. Am I correct about any folder with "My...." don't touch? Folders with that shortcut icon in the bottom left I assume are junction/hard link/soft link/symbolic links. I look at Links, Downloads and they all have special icons merged with the folder (essentially the icon isn't the normal folder icon). How do I get back to what I had if I attempted and it didn't workout

          – The Accountant
          Jan 25 at 16:05





          When I have I tried location and it moved the files, the original folder is deleted (assume c:->e: apps that use to save to those folders on c: now ask for a new location versus being tricked into using old folder which is gone. Am I correct about any folder with "My...." don't touch? Folders with that shortcut icon in the bottom left I assume are junction/hard link/soft link/symbolic links. I look at Links, Downloads and they all have special icons merged with the folder (essentially the icon isn't the normal folder icon). How do I get back to what I had if I attempted and it didn't workout

          – The Accountant
          Jan 25 at 16:05













          Yes, you move the location of those folders, but all programs if programmed well should respect the move. If not, then you indeed need to place a placeholder junction afterwards as described in the rest of the answer.

          – LPChip
          Jan 25 at 16:58





          Yes, you move the location of those folders, but all programs if programmed well should respect the move. If not, then you indeed need to place a placeholder junction afterwards as described in the rest of the answer.

          – LPChip
          Jan 25 at 16:58













          okay let me give it a try in regards to a folder in the profile section. Since the comment section I think has a time out limit (meaning amount of time to post/edit) I will respond below this with results.

          – The Accountant
          Jan 27 at 4:20





          okay let me give it a try in regards to a folder in the profile section. Since the comment section I think has a time out limit (meaning amount of time to post/edit) I will respond below this with results.

          – The Accountant
          Jan 27 at 4:20













          Okay went and created Downloads on E:. Went to C drive and clicked on Downloads, properties, location and changed it to a matching directory on E:UsersTimDownloads. Then I went back to C drive and created the folder Downloads in the c:UsersTim I then type out mklink /j "c:UsersTimDownloads" "e:UsersTimDownloads" and got the Cannot create a file when that file already exists. error message.

          – The Accountant
          Jan 27 at 7:19





          Okay went and created Downloads on E:. Went to C drive and clicked on Downloads, properties, location and changed it to a matching directory on E:UsersTimDownloads. Then I went back to C drive and created the folder Downloads in the c:UsersTim I then type out mklink /j "c:UsersTimDownloads" "e:UsersTimDownloads" and got the Cannot create a file when that file already exists. error message.

          – The Accountant
          Jan 27 at 7:19




          1




          1





          Sorry to add to the comment. I went back to C:UsersTim and deleted the folder downloads. I then used the same command from c:UsersTim (just in case location matters) and then ran the command mklink /J "c:UsersTimDownloads" "e:UsersTimDownloads" and it responded with Junction created for c:UsersTimDownloads <<===>> e:UsersTimDownloads That still leaves me confused do I have to delete the folder I want to do a junction/symbolic/hard/soft link that was relocated by location tab by not creating a new folder? Now have Downloads with a shortcut icon on C:

          – The Accountant
          Jan 27 at 7:23







          Sorry to add to the comment. I went back to C:UsersTim and deleted the folder downloads. I then used the same command from c:UsersTim (just in case location matters) and then ran the command mklink /J "c:UsersTimDownloads" "e:UsersTimDownloads" and it responded with Junction created for c:UsersTimDownloads <<===>> e:UsersTimDownloads That still leaves me confused do I have to delete the folder I want to do a junction/symbolic/hard/soft link that was relocated by location tab by not creating a new folder? Now have Downloads with a shortcut icon on C:

          – The Accountant
          Jan 27 at 7:23




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1398402%2fusing-junction-symbolic-links-location-and-simple-move-commands%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀