Returns the current OS directory name.
CurDir( [<cDrive>] ) --> cPath
<cDrive> OS drive letter
<cPath> Name of directory
This function yields the name of the current OS directory on a specified drive. If <cDrive> is not specified, the currently logged drive will be used.
This function should not return the leading and trailing (back)slashes.
If an error has been detected by the function, or the current OS directory is the root, the value of the function will be a NULL byte.
This is CA-Cl*pper v5.2 compliant
This is available on all platforms
Library is core