[Gambas-user] RDir and symbolic links

Gianluigi bagonergi at gmail.com
Sun May 5 09:35:03 CEST 2019


Hi Lee,
thank you very much.
Now I understand.

Regards
Gianluigi

Il giorno dom 5 mag 2019 alle ore 02:21 T Lee Davidson <
t.lee.davidson at gmail.com> ha scritto:

> Symbolic links to regular files are treated the same way. Symbolic links
> to directories are treated differently.
>
> With FollowLink=False, a sym-linked directory will not be recursed. With
> FollowLink=True, a sym-linked directory *will* be recursed.
>
>
> ___
> Lee
>
>
> On 5/4/19 7:44 AM, Gianluigi wrote:
> > I don't understand this in the wiki: "If FollowLink is TRUE, then
> symbolic links on directories are recursed. Otherwise they are
> > processed like normal files."
> > This code with True or False prints symbolic links in the same way:
> >
> > Public Sub Main()
> >
> >    Dim File As String
> >
> >    For Each File In RDir("/path/of/directory", Null, 0, True) ' or False
> >      Print File
> >    Next
> >
> > End
> >
> > Who helps me to understand for a correct translation?
> >
> > Regards
> > Gianluigi
> >
> >
> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> >
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190505/749d46b4/attachment.html>


More information about the User mailing list