GetParentFolderName Method

Object: FileManager
Syntax: GetParentFolderName ([in] Path)
Returns: Returns a string containing the name of the parent folder of the file in a specified path.
Description: This method returns the name of the parent folder of the file or folder in a specified path. For example if the complete path is c:\temp\file.doc, this method returns c:\temp. If there is no parent folder for the file or folder specified in the Path argument, the GetParentFolderName method returns a zero-length string.

Copyright © 2010 SoftArtisans, Inc. All rights reserved.