libs/helpers-file-handling.nls

Helper functions to handle files and folders.

Summary
libs/helpers-file-handling.nlsHelper functions to handle files and folders.
get-file-nameReturns the file name from the given path
get-pathReturns the path only, cutting of the file-name
get-parent-pathReturns the path to the parent directory

get-file-name

to-report get-file-name [path]

Returns the file name from the given path

Parameter

pathString of path

Returns

stringfile-name

get-path

to-report get-path [file-path]

Returns the path only, cutting of the file-name

Parameter

pathString of path

Returns

stringpath

get-parent-path

to-report get-parent-path [path]

Returns the path to the parent directory

Parameter

pathString of file-path

Returns

stringpath to the parent directory relative to the input path
to-report get-file-name [path]
Returns the file name from the given path
to-report get-path [file-path]
Returns the path only, cutting of the file-name
to-report get-parent-path [path]
Returns the path to the parent directory
Close