[Gambas-user] RDir and symbolic links
T Lee Davidson
t.lee.davidson at gmail.com
Sun May 5 02:20:30 CEST 2019
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 ]----
>
More information about the User
mailing list