UiPath Documentation
activities
latest
false

工作流活动

上次更新日期 2026年5月11日

文件夹存在

UiPath.Core.Activities.FolderExistsX

检查指定的文件夹路径是否存在。

要了解如何使用此活动,请参阅教程:处理文件和文件夹

配置活动

在活动正文中
  • Folder path - Click Browse docs image next to the field and then browse to and select the folder to check. Alternatively, you can click Plus docs image on the right side of the field and then, from the menu, choose one of the available options to indicate the folder path to check:
    • 项目笔记本、父级 Excel 文件或 Outlook 帐户中的数据。例如,选择一个 Excel 文件,然后选择一个包含该名称的单元格,或指定 Outlook 中所选电子邮件中包含该名称的字段。
    • Use Saved Value - Select a value in the form of a folder path that you previously saved for later use in the project.
    • “文本”- 在文本生成器中输入文件路径。您可以将文本与 Excel 文件单元格中的公式结合使用,例如,使用“项目笔记本”中的公式为文件夹名称添加日期。
    • “运行时询问”- 执行项目时提示输入文本。
    • Open in Advanced Editor - Enter a VB expression.
  • Save result - Click Plus docs image on the right side of the field and then, from the menu, choose one of the available options to indicate where to save the result (TRUE if the folder exists or FALSE if the folder does not exist):
    • 选择 Excel 文件或“项目笔记本”,然后选择用于保存值的单元格。
    • Save for Later Use - Use the output result later in your project as input for another activity.
    • Open in Advanced Editor - Enter a VB expression.
在属性面板中
常见
  • DisplayName - The name displayed for the activity in the Designer panel.
输入
其他
  • Private - If selected, the data used in the activity is not logged by StudioX.

输出

  • “内容” - 在活动主体中 查看“保存结果”
  • 配置活动

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新