Remarks:
The GetScriptFolder method returns the path and the folder where the executing script resides. If this function is used in a Corel SCRIPT executable, it returns the path and folder where the executable resides. The GetScriptFolder method returns a string variable that is passed the path and folder of an executing script or executable. If the script has not been previously saved to disk or a network, this function returns an empty string.