[Gambas-user] RDir and symbolic links
bagonergi at gmail.com
Sun May 5 09:43:32 CEST 2019
the wiki is correct.
My old brain didn't :-(
Il giorno dom 5 mag 2019 alle ore 09:35 Gianluigi <bagonergi at gmail.com> ha
> Hi Lee,
> thank you very much.
> Now I understand.
> 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.
>> 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...
More information about the User