Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know I can map a webdav folder to a drive letter in Windows, but I need to map ~10 different webdav folders (different servers) and assigning a drive letter would be ugly.

Is it somehow possible to create the links as a folder structure, for example by using mklink?

I have tried several combinations (/d, /H, /J flag + https://webdav.server.com/... or \\webdav.server.com@SSL\...) without success. Most of the combinations lead to a virtual folder which when opened loads quite some time (as when the webdav is mapped to a drive), but then fails with similar error messages saying that it is not accessible.

share|improve this question

2 Answers 2

Unfortunately symbolic links in NTFS can only point to locally mounted file systems and network shares via UNC paths: http://msdn.microsoft.com/en-gb/library/windows/desktop/aa363878(v=vs.85).aspx

Apparently this guy has a trick to mount a folder to a WebDAV destination though: https://discussion.dreamhost.com/thread-36105.html

share|improve this answer
    
It doesn't like #/ at the end as suggested at the link you gave. It says The folder you entered does not appear to be valid. Please choose another. –  mlt Oct 8 '14 at 20:55

You can use UNC path to create NTFS symlinks or Explorer shell links. You must be authenticated to the WebDav server prior access the link. For Explorer shell link I recommend CygWin tool "ln", because if you configure CygWin properly, shell links created by this tool can be interpreted as symlinks under CygWin runtime environment.

NTFS symlink

  • mklink /D "%WebDav_Link%" "\\%WebDavServer%\%WebDavRoot%\%RelPATH%"

Explorer shell link

  • "%CygWinBin%\ln.exe" -s '\\%WebDavServer%\%WebDavRoot%\%RelPATH%'
    '%WebDav_Link%'
  • to enable this works you must set under Windows environment a variable CYGWIN to "winsymlinks:lnk" (SET CYGWIN=winsymlinks:lnk)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.