NEW6.00.00 · Released 17 April 2025
NEWfinPOWER Connect
Released in
6.00.00
17 April 2025
  1. Opened10 Oct 2024
  2. Closed10 Oct 2024
  3. Released17 Apr
Article 22267 Job J034469

Business Layer; GetFolderParent function has been added to ISFileUtilities

The following function is now available in ISFileUtilities:

  • Public Function GetFolderParent(folder As String, includeDirectorySeparator As Boolean, ByRef parentFolder As String) As Boolean

This will return the parent folder, for a specified folder.

For example: Passing "C:\Folder1\Folder2" into the function will return "C:\Folder1".

Note: This on-calls the built-in .NET method Directory.GetParent; more information is available here: https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.getparent?view=net-8.0.