- TIBCO BusinessEvents®
- Standard
- File

# File.createFolders()

## Signature

`boolean createFolders(String directoryPath, String folderPath)`

## Domain

ACTION, CONDITION, BUI

## Description

Creates a folder structure on the file system for this filepath

## Parameters

Name | Type | Description
--- | --- | ---
`directoryPath` | `String` | The directory to create folder in
`filePath` | `String` | The filePath whose folder structure has to be created

## Returns

Type | Description
--- | ---
`boolean` | Whether folder structure was created or not

## Cautions

The filePath should not point to a directory