-
Notifications
You must be signed in to change notification settings - Fork 16
FS.GetParentPath
boxgaming edited this page Jul 5, 2026
·
3 revisions
Returns the parent directory portion of a file path.
Available in release 0.11.0
parentPath$ = FS.GetParentPath (filepath$)
- The filepath$ parameter can be a full or relative file path.
Example: Print the parent path portion of a full file path.
Import FS From "lib/io/fs.bas"
Dim filepath As String
filepath = "/util/tools/test/parser.bas"
Dim parentPath As String
parentpath = FS.GetParentPath(filepath)
Print parentPath/utils/tools/test