windows xp - Can you link an NTFS junction point to a directory on a Network Attached Storage?

26
2013-08
  • Zachary Burt

    I'm using Windows, and I want to use Dropbox to back up a folder outside my Dropbox directory. So I want to create a junction point from my target directory to my Dropbox folder. Accoding to the Wikipedia article on NTFS junction points, which the Dropbox answer links to:

    "Junction points can only link to directories on a local volume; junction points to remote shares are unsupported."

    I am looking to link to a directory on networked attached storage, which would not be a local volume, I believe. What should I do?

  • Answers
  • jeffreylin_

    The only thing you can do is create a symbolic link.


  • Related Question

    Share files at arbitrary locations by Dropbox
  • Masi

    I would like to have a terminal tool which would allow me to share files at arbitrary locations by Dropbox. For instance, by

    dropbox /users/cs/python/codes/1.py
    

    This should share the file at the given location.

    Let's assume that we have the file 1.html at ~/Dropbox/public. It has a link to the file which dropbox above.

    This suggests me that the Dropboxed-files should be also at the public folder. However, the name of the file in the Dropbox folder should suggests Dropbox to get data from the given location.

    I am not sure whether this is possible or not: My point is to have a code in the filename such that Dropbox could fetch the data from the given location after reading the filename.

    How can you share files at arbitrary locations by Dropbox?


  • Related Answers
  • jtbandes

    I can't understand exactly what you're asking, but if you want to have files show up in the Dropbox Public folder and also be somewhere else in the filesystem, it looks like the only option for now is hard links (on *nix operating systems, including OS X):

    ln /users/cs/python/codes/1.py ~/Dropbox/Public/
    

    That will create a 1.py file in ~/Dropbox/Public which will be another link to the same file on the filesystem, though it will look like another file. This means you can access the file the same way, and any changes you make to one will be the same with the other (since they're accessing the same location on disk). You can later delete the link in the ~/Dropbox/Public folder, and the other one will still work. Take note: if you delete one of the links and recreate the file there, they will no longer be pointing to the same location on disk.

  • Cory

    For Windows users you can do the same with a sysinternals program called Junction.

    Lifehacker has a nice article about this.

  • Domchi

    Or you can wait for Dropbox team to add support for it - see list of upcoming features here.