How to get the path of an attached file

Please give me a solution about how to get the path of an attached file using Lotus Script.

Subject: How to get the path of an attached file.

You can find the filename in the field “$file”.