Return a folder object from its name
Folder GetFolder( LPCSTR strPathName )
Returns a Folder object
// "/name", use absolute search. The project can be omitted in this method.
// "../name", use relative search. Find folder name as "name" from current folder's parents' folder.
// Demonstrate getting a folder via each kind of path reference string
// Create two subfolders off root folder
// Attach to a subfolder of root using an absolute reference string
Folder fldCurr = fldRoot.GetFolder("/MyFolder1");
string strCurrName = fldCurr.GetName();
printf("The current folder is %s\n", strCurrName);
// Attach to a sibling folder of MyFolder1 using a relative string reference
fldCurr = fldMyFolder1.GetFolder("../MyFolder2");
strCurrName = fldCurr.GetName();
printf("The current folder is %s", strCurrName);
You can use relative and absolute ways to Get a Folder. The name is not case sensitive.