How to add only file name to the queue

is there a how to add only file name to the queue in UiPath Please let me know the process
is there any activity directly for it

Hi @T_Y_Raju

Try this

System.IO.Path.GetFileName(CurrentFile.ToString)

Cheers!!

@T_Y_Raju,

No activity but we have a VB.net method to get only filename from file path System.IO.Path.GetFileName("fullfilepath")

Thanks,
Ashok :slight_smile: