MKLINK – Create and Use Links in Windows

Page 14 of 16 FirstFirst ... 41213141516 LastLast

  1. Posts : 17,545
    Windows 10 Pro x64 EN-GB
    Thread Starter
       #130

    Euclio said:
    Hi Kari, many thanks for the great tutorial. Is it a wise thing to move the whole c:\users folder to another local volume e.g. d:\users and make a directory junction in Win7 in order to relocate user data easily? Thank you.
    HHi Euclio, welcome to the Seven Forums.

    No, it's not a good idea. I recommend using this method instead: User Profiles - Create and Move During Windows 7 Installation

    Kari
      My Computer


  2. Posts : 2
    Windows 7 Professional x64 SP1
       #131

    Thank you very much for your prompt response Kari.
      My Computer


  3. Posts : 2
    Windows 7 home premium 32
       #132

    Same issue. Hoping for help


    littlereddevil said:
    I created mklink and it returned me link created. However when I tried to access by clicking the folder that I created, it gave me error "The filename, directory name, or volume label syntax is incorrect". Is anyone facing this issue before?
    I am trying to create a link for my phone back ups. iTunes automatically puts them in the app data folder on C: and I want the data actually saved on E: I read Kari's excellent tutorial and got back an affirmative "junction created" However, when I click on it or try to write things to it (back up my phone) I get the same error as the above. What do I need to change?

    Thanks
      My Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
    Thread Starter
       #133

    Quance said:
    littlereddevil said:
    I created mklink and it returned me link created. However when I tried to access by clicking the folder that I created, it gave me error "The filename, directory name, or volume label syntax is incorrect". Is anyone facing this issue before?
    I am trying to create a link for my phone back ups. iTunes automatically puts them in the app data folder on C: and I want the data actually saved on E: I read Kari's excellent tutorial and got back an affirmative "junction created" However, when I click on it or try to write things to it (back up my phone) I get the same error as the above. What do I need to change?

    Thanks
    Take a look at this article: How to change the location of your iPhone backup and iTunes MobileSync Backup folder - Scott Hanselman
      My Computer


  5. Posts : 2
    Windows 7 home premium 32
       #134

    thanks, but...


    Checked out that article. All of that was done, but the shortcut my machine created gives the error message I referenced earlier. I've gotten the link credited in the command menu. It created the shortcut. I created the folder for the other end of the link. It's in the right place. I still get that error. Is there a fix?
      My Computer


  6. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #135

    Quance said:
    littlereddevil said:
    I created mklink and it returned me link created. However when I tried to access by clicking the folder that I created, it gave me error "The filename, directory name, or volume label syntax is incorrect". Is anyone facing this issue before?
    I am trying to create a link for my phone back ups. iTunes automatically puts them in the app data folder on C: and I want the data actually saved on E: I read Kari's excellent tutorial and got back an affirmative "junction created" However, when I click on it or try to write things to it (back up my phone) I get the same error as the above. What do I need to change?
    Hello Quance,

    The error message in that context usually indicates that the given target path contains invalid characters.

    If you're still not able to solve the issue, Quance, post the exact command line you are using here.
      My Computer


  7. Posts : 925
    Windows 10 Pro
       #136

    I created a junction whereas the link is the source folder, and the target is the junction as displayed in command. When I create a file and save it in either the link or the target neither the link or the target have the same file mirrored so to speak ?
    Last edited by JerometheGiraff; 18 Oct 2016 at 08:34.
      My Computer


  8. Posts : 11
    windows 7 sp1 x64 ultimate
       #137

    @JerometheGiraff

    I had the same issue it was because I had confused link with target. Link comes first in the command and is the destination folder, target comes second in the command and is the original folder. If you read the last paragraph about the example on C:\games it should be clear now.
      My Computer


  9. Posts : 925
    Windows 10 Pro
       #138

    @sgtsixpack - It's clear now, I don't do symbolic links often so I have to resort to this guide from time to time. :)
      My Computer


  10. Posts : 925
    Windows 10 Pro
       #139

    I'm attempting to make a symbolic link between a folder on a network and a local folder using the following command;

    Code:
    mklink /d "\\<networkName>\<folderA>\<folderB>" "C:\<folderA>\<folderB>\<folderC>"
    I get the error; The file or directory is not a reparse point.

    I did some searching online and didn't find much information on this error besides the tool, Junction which allows you to view reparse points. I prefer to do this within Windows.
      My Computer


 
Page 14 of 16 FirstFirst ... 41213141516 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:58.
Find Us