I want to get all filenames in a special disk.How can I do?thanks a lot for your help!
Subject: Get filename on disk
You can run a Lotusscript agent, and loop what the function DIR() returns. Dir() returns file or directory names from a specified directory, or returns a drive volume label.
Example:
’ List the contents of the c:\ directory, one entry per line.
Dim pathName As String, fileName As String
pathName$ = “c:*.*”
fileName$ = Dir$(pathName$, 0)
Do While fileName$ <> “”
Print fileName$
fileName$ = Dir$()
Loop
Best regards,
Rune Carlsen
Subject: RE: Get filename on disk
thank you for your response