Declaration: 
void GetScriptFileName(char script_name[], char file_name[]); 
Description 
GetScriptFileName copies to file_name the fully qualified path of the script file passed in script_name. 
Each script has name containing 8 characters: the name of the script source file without path and extension. The GetScriptFileName function retrieves the path to the source file. 
Example: 
   char path[MAXPATH]; 
   GetScriptFileName("test", path); 
  
  
 |