Libre Libraries: GetPathSeparator function /text/sbasic/shared/GetPathSeparator.xhp GetPathSeparator function
GetPathSeparator Function Return the operating system-dependent directory separator used to specify file paths.
Syntax: GetPathSeparator() Return value: String "\" Windows "/" UNIX, including MacOS Parameters: None. Error codes: 5 Invalid procedure call Example: Sub ExampleGetPathSeparator MsgBox GetPathSeparator() End Sub
It is recommended to use: ConvertFromURL function to convert a file URL to s system file name. ConvertToURL function to convert a system file name to a file URL. See also URL Notation