> ## 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.

# 获取文件名

### <strong>获取文件名</strong>

<strong>输入：</strong>

文件路径，例：C:\temp\123.jpg

<strong>输出：</strong>

文件名

<strong>使用示例：</strong>

<img src="https://mintcdn.com/bazhuayu-rpa-docs/acncrdgBT8CBruTe/helpcenter/commands/custom-commands/Xtu3Dyv8/images/dS9s1k7L-01.png?fit=max&auto=format&n=acncrdgBT8CBruTe&q=85&s=1a37e3fb4aff7837865840d4f610671d" alt="image" width="661" height="466" data-path="helpcenter/commands/custom-commands/Xtu3Dyv8/images/dS9s1k7L-01.png" />

<strong>运行效果</strong>

<img src="https://mintcdn.com/bazhuayu-rpa-docs/acncrdgBT8CBruTe/helpcenter/commands/custom-commands/Xtu3Dyv8/images/dS9s1k7L-02.png?fit=max&auto=format&n=acncrdgBT8CBruTe&q=85&s=a20e9d013378f149c29191ea62aa6710" alt="image" width="809" height="208" data-path="helpcenter/commands/custom-commands/Xtu3Dyv8/images/dS9s1k7L-02.png" />

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