Returns the Folder object that represents the folder specified by the pathName argument.
This method can be used to get the Public Queries or Personal Queries folders (using localized names).
VBScript
workspace.GetFolder pathName
Perl
$workspace->GetFolder(pathName);