How to Read the File Path


I have a task where i need to read the “Path of the file” and that path should be pasted in the other document.
Can you please tell me how can i read the path of the file and store in a variable.

Thanks in advance.

Hi @Srikanth_Annabathina,

Please try to also use System.IO namespace related methods. In this scenario I would suggest you to use the method System.IO.Path.GetFullPath.

I think this link will be helpful


Thank you for the reply.

Can you please elaborate more on the particular use case which you have mentioned above. How can i use the mentioned function. Your explanation is helpful for me.

Use assign activity and store ur file path to variable than use write file activity and save ur variable to that write file

Thank you for the Response. It is working.