[ 
https://issues.apache.org/jira/browse/VFS-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168872#comment-14168872
 ] 

Bernd Eckenfels commented on VFS-538:
-------------------------------------

Hm, not sure this is actually possible. At least not with Java 6. The same 
problem of this alias folder is even present in Windows Explorer, when you try 
to open it, it will give you an error (the only help against this is, it is 
normally hidden). (Funny enough command line automatically follows the 
redirection).

I think the right thing would be to represent the folder as a symlink to \Users.

{code}
c:\>dir /N /A:L
...
14.07.2009  07:08    <VERBINDUNG>   Documents and Settings [C:\Users]
21.11.2010  07:59    <VERBINDUNG>   Dokumente und Einstellungen [C:\Users]
21.11.2010  07:59    <VERBINDUNG>   Programme [C:\Program Files]
{code}

> c:/doucmnt and setting
> ----------------------
>
>                 Key: VFS-538
>                 URL: https://issues.apache.org/jira/browse/VFS-538
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: angclo chakma
>            Priority: Minor
>
> file type for c:/Documents and Settings  shows Folder but show error when 
> access.
> org.apache.commons.vfs2.FileNotFolderException: Could not list the contents 
> of "file:///c:/Documents and Settings" because it is not a folder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to