Purpose
Returns the directory path for the current workspace file. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
GetCurrentWorkspacePath$()
Return Value
String
Description
This function displays the directory path of the workspace file that is currently open. If no workspace file is open, executing this function would return "".