> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# fileMakeDir

> パスで指定されたディレクトリを作成します。見つからない中間ディレクトリを自動的に作成するオプションがあります。

パスで指定されたディレクトリを作成します。

## 必要なパラメータ

* **path**：作成するディレクトリの完全修飾パス（例：`/tmp/mydirectory`）。

## オプションのパラメータ

* **force**：オペレーションが**path** パラメータに設定したパスに見つからないディレクトリを作成するかどうかを制御。`true` および`false` が使用可能です。デフォルト値は`true` です。

## アウトプット属性

* **file:path**：新しく作成されたディレクトリへのフルパス。
* **file:cdate**：ディレクトリが作成された日時。

## 例

```xml theme={null}
<!-- Creating an input item with the path attribute --> 
<arc:set attr="input.path" value="/tmp/foo/bar/newdir"/>
<!-- Calling fileMakeDir and passing in the input item -->
<arc:call op="fileMakeDir" in="input" out="result">
  <!-- Optional: Logging information about the created directory to the application log -->
  <arc:set attr="_log.info" value="A new directory located at [result.file:path], was created at [result.file:cdate]."/>  
</arc:call> 
```
