UiPath Documentation
activities
latest
false

工作流活动

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

删除文件

UiPath.Core.Activities.DeleteFileX

删除指定文件。

配置活动

在活动正文中
  • File name - Click Browse docs image next to the field and then browse to and select the file to delete. 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 path of the file to delete:
    • 如果该活动在“遍历文件夹中的文件”活动中,则可选择“当前文件”>“完整路径”,以指明当前正在遍历的文件的路径。
    • 项目笔记本、父级 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 论坛

保持更新