FolderItem.Constructor(path as String)

From Xojo Documentation

Constructor
FolderItem.Constructor(path as String[, PathType as Integer=PathTypeAbsolute])


Creates a new FolderItem. When you create a FolderItem with the New command, you can pass the full or relative path to the new FolderItem as an optional parameter.

Example

The following example looks for a file at a specific path on Windows:

Dim f As FolderItem
f = New FolderItem("c:\Temp\MyDoc.txt", FolderItem.PathTypeNative)