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

# 创建文件夹

## 指令说明

**描述：** 在指定路径下创建新的文件夹，供后续文件保存、移动或整理操作使用。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/y7Z2TvwRJJef-uiI/helpcenter/commands/os/images/createfoldercommand-04.png?fit=max&auto=format&n=y7Z2TvwRJJef-uiI&q=85&s=cf5fe4e0778ba968c513be8146ea2d1a" alt="创建文件夹指令参数面板" width="648" height="402" data-path="helpcenter/commands/os/images/createfoldercommand-04.png" />

    | 参数         | 说明                    |
    | ---------- | --------------------- |
    | **父文件夹目录** | 输入或选择要在其中创建新文件夹的文件夹路径 |
    | **新文件夹名称** | 输入要创建的文件夹名称           |
    | **生成的变量**  | 保存新文件夹路径变量            |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/y7Z2TvwRJJef-uiI/helpcenter/commands/os/images/createfoldercommand-01.png?fit=max&auto=format&n=y7Z2TvwRJJef-uiI&q=85&s=329fc4fa181d204a94c260439ffc6e4d" alt="创建文件夹使用示例" width="852" height="103" data-path="helpcenter/commands/os/images/createfoldercommand-01.png" />

**该流程执行逻辑：**

1. 在【创建文件夹】中将父目录设置为 `D:\教程\新建文件夹`，新文件夹名称设置为“八爪鱼RPA”。
2. 运行后，系统在父目录下创建 `八爪鱼RPA` 文件夹。
3. 后续流程可将文件写入该目录，或将生成的文件夹路径传给其他文件操作指令。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/y7Z2TvwRJJef-uiI/helpcenter/commands/os/images/createfoldercommand-03.png?fit=max&auto=format&n=y7Z2TvwRJJef-uiI&q=85&s=30496e227271f8901411e9b1b11a2e9a" alt="创建文件夹效果展示" width="519" height="147" data-path="helpcenter/commands/os/images/createfoldercommand-03.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/y7Z2TvwRJJef-uiI/helpcenter/commands/os/images/createfoldercommand-05.png?fit=max&auto=format&n=y7Z2TvwRJJef-uiI&q=85&s=2a612c896fadacb6b216727b4d75ad12" alt="创建文件夹效果展示" width="523" height="133" data-path="helpcenter/commands/os/images/createfoldercommand-05.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/y7Z2TvwRJJef-uiI/helpcenter/commands/os/images/createfoldercommand-02.png?fit=max&auto=format&n=y7Z2TvwRJJef-uiI&q=85&s=13355db39a8b6dd9fea7d4c3c8c746b2" alt="创建文件夹效果展示" width="841" height="166" data-path="helpcenter/commands/os/images/createfoldercommand-02.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
