How to read a file through Lotus Script

Hi all, I have a attachment.How can I read the content of the attachment throuhg lotus Script.

Any Idea.

Please Help me

Subject: How to read a file through Lotus Script

Here is the code I use, I have a routine that gets the fields based on delimiters of your choosing (comma, colon, etc).

cdr = “c:\yourfile.txt”

fileNum = Freefile()

Open cdr For Input Access Read As fileNum

Print "File opened successfully to import docs"

Do While Not Eof(fileNum)

'Processing goes here

Loop

Close filenum

Kill "c:\yourfile.txt"

Subject: How to read an attachment through Lotus Script

Hi, I also have this problem. I need to access the contents of an attachment. If I use this solution, how can I get the full path filename of the attachment?

Subject: RE: How to read an attachment through Lotus Script

In all my examples of using this, I have the file hardcoded (path and all), in my script. I specified where I wanted these other applications to put the file. Sorry.