| 
       | 
        
       | Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.GetScriptFolder  | 
      
Function GetScriptFolder() As String
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.
  | 
Here is a code example:
folder = GETSCRIPTFOLDER ( )  | 
| 
       | 
        
       | 
		      
		          
		             | 
      
Copyright 2013 Corel Corporation. All rights reserved.