UiPath フルパスからファイル名を取得する

ファイル名からフルパスを取得したい

長いファイルパスからファイル名だけを取得したい場合、どうすればいいでしょうか。今回はUiPathの「代入」アクティビティを使ってみたいと思います。

準備

変数「FileName」(文字列型)にフルパスのファイル名のみを取得したいと思います。その場合、以下のようになります。

'---右辺
Path.GetFileName("ファイルのフルパスを入力")

2件のフィードバック

  1. hey there and thank you for your information – I’ve certainly picked
    up anything new from right here. I did however
    expertise a few technical points using this website, since I
    experienced to reload the site a lot of times previous
    to I could get it to load properly. I had been wondering if your web hosting is OK?
    Not that I am complaining, but slow loading
    instances times will sometimes affect your
    placement in google and could damage your high-quality score if ads and
    marketing with Adwords. Anyway I am adding this
    RSS to my email and can look out for a lot more of your
    respective intriguing content. Ensure that you update this again soon..
    Escape roomy lista

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

目次