Windows Vista Forums

Directory symbolic link not recognized as folder in open file dial
  1. #1


    Bjorn Guest

    Directory symbolic link not recognized as folder in open file dial

    Hello everybody,

    The file dialogs of Vista do not recognize directory symbolic links as
    folders but as files. To demonstrate, run the following commands:

    1. Start cmd as Administrator and execute the following commands:

    2. cd \Users\Public
    3. mkdir TestFolder
    4. mkdir TestSubfolder
    5. cd TestFolder
    6. mklink /D TestSubfolder \\<computername>\Public\TestSubfolder

    7. Start Textpad:

    8. Select menu Open file
    9. Navigate in dialog to \Public\TestFolder
    10. Double-click TestSubfolder



    The last action results in the following error message:

    You don't have permission to open file.

    Also, changing ownership of the shortcut does not change the situation. A
    similar result can be observed trying the Save file dialog, which tries to
    replace the directory symbolic link.

    Windows Explorer on the other hand recognizes directory symbolic links
    properly as folders.

    Surely, this cannot be the intended behavior of the file dialog?
    Is there any solution?

    Kind regards, Bjorn

      My System SpecsSystem Spec

  2. #2


    Jimmy Brush Guest

    Re: Directory symbolic link not recognized as folder in open file dial

    Hello,

    I can confirm this behavior. It appears to be a bug in the file/open and
    file/save dialog.

    --
    - JB
    Microsoft MVP Windows Shell/User


      My System SpecsSystem Spec

  3. #3


    Bjorn Guest

    Re: Directory symbolic link not recognized as folder in open file dialog

    Thanks for confirming, I was afraid it would be. No fix around? How do I
    notify MS of this bug or is it magically taken care of?

    Although it is not breaking but rather annoyingly inconvenient for my
    selective and transparent sharing of private documents over all my personal
    computers (using offline folders and symbolic links).

    Bjorn

    "Jimmy Brush" <jb@xxxxxx> wrote in message
    news:92AC0504-2FA4-44CC-B4B7-7E67DBE1FE8F@xxxxxx

    > Hello,
    >
    > I can confirm this behavior. It appears to be a bug in the file/open and
    > file/save dialog.
    >
    > --
    > - JB
    > Microsoft MVP Windows Shell/User

      My System SpecsSystem Spec

  4. #4


    Jimmy Brush Guest

    Re: Directory symbolic link not recognized as folder in open file dialog

    Hello,

    I will submit a bug report to Microsoft about this issue. As a workaround,
    things seem to work OK if you just make the symbolic link to
    \\server\rootshare. So, if you create shares on the "server" computer for
    the folders you need to access, and then link to those shares directly
    instead of through other shares, it should work.


    --
    - JB
    Microsoft MVP Windows Shell/User


    "Bjorn" <bjorau@xxxxxx> wrote in message
    news:E5BA452A-95F3-48A5-AC35-8EB067B77B65@xxxxxx

    > Thanks for confirming, I was afraid it would be. No fix around? How do I
    > notify MS of this bug or is it magically taken care of?
    >
    > Although it is not breaking but rather annoyingly inconvenient for my
    > selective and transparent sharing of private documents over all my
    > personal computers (using offline folders and symbolic links).
    >
    > Bjorn
    >
    > "Jimmy Brush" <jb@xxxxxx> wrote in message
    > news:92AC0504-2FA4-44CC-B4B7-7E67DBE1FE8F@xxxxxx

    >> Hello,
    >>
    >> I can confirm this behavior. It appears to be a bug in the file/open and
    >> file/save dialog.
    >>
    >> --
    >> - JB
    >> Microsoft MVP Windows Shell/User
    >

      My System SpecsSystem Spec

Directory symbolic link not recognized as folder in open file dial problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
symbolic link not working via share ? tonyb61 Server General 1 28 Feb 2010
Symbolic Link Brock Hensley Server General 1 06 Aug 2009
Can not create symbolic link to a file - symlink to directory is O Spooky Vista General 0 11 Dec 2007
Directory symbolic link not recognized as folder in open file dial Bjorn Vista networking & sharing 0 21 Nov 2007
Junction, Symbolic Link and a Custom Dir Function Brian JT PowerShell 0 20 Aug 2006