You don't have to add anything here !
code:
FileName = f1.item();
'f1' is an enumerator which contain all files in the directory, so, with 'f1.moveNext()' you select the next entry and, with 'f1.item()' you get the text ! (I hope I'm comprehensible...)
'FileName'
IS the file name !!!
If you want to list the directory content , type :
/list C:\Documents and Settings\Basse\Dokumenter\Musik\Niarn - Antihelt
\ <-- don't forget this one !
And, for example you can try this :
code:
FileName = f1.item();
Debug.Trace(FileName);