Previous Document Next Document

Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.GetScriptFolder


CorelScriptTools.GetScriptFolder

Function GetScriptFolder() As String

Description

Member of CorelScriptTools

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.
Example

Here is a code example:

folder = GETSCRIPTFOLDER ( )

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.