|    | 
CSplitpath:GetFolder2
The GetFolder2 method returns the folder name from a CSplitpath object. The returned string includes the machine name, drive name, and directory. The string is not terminated by a backslash character, \. To return the folder with a terminal backslash, use GetFolder() instead.
| sFolder = CSplitpath:GetFolder2() | 
 | 
Suppose a file exists with a full path named sPath. The following script fragment retrieves the folder component:
|  | -- create a CSplitpath object | 
|  | -- Specify the path to be split | 
|  | -- assigns the folder component to the string sFolder | 
|  | -- when done with S, remove it from memory |