UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

工作流活动

上次更新日期 2026年4月7日

删除文件

UiPath.Core.Activities.DeleteFileX

删除指定文件。

配置活动

在活动正文中
  • 文件名- 单击字段旁边的浏览 docs image,然后浏览到并选择要删除的文件。或者,也可以单击字段右侧的加号 docs image 图标,然后从菜单中选择一个可用选项以指明要删除的文件夹的路径:
    • 如果该活动在“遍历文件夹中的文件”活动中,则可选择“当前文件”>“完整路径”,以指明当前正在遍历的文件的路径。
    • 项目笔记本、父级 Excel 文件或 Outlook 帐户中的数据。例如,选择一个 Excel 文件,然后选择一个包含该名称的单元格,或指定 Outlook 中所选电子邮件中包含该名称的字段。
    • Use Saved Value - Select a value in the form of a file path that you previously saved for later use in the project.
    • Text - Enter a file path in the Text Builder.
    • Ask when run - Prompt for a file path when the project is executed.
    • 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 论坛

保持更新