File name for Selected File

Hi Everyone,

I need help to get the file name of selected file in select file activity

As you can see when I output the file its giving me the local path.

How can I extract the file name only?

Thanks in Advance!

Alvin

Hi,

Can you try GetFileName method as the following?

img20210906-2

System.IO.Path.GetFileName(yourFilePath)

Regards,

Thank you It worked!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.