Thanks for the tricky answer. I am able to print the name of the file. But I have to store the file name in a string then start manupulating that. How do I do that? Thanks.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
"((File) it.next).getName()" is the file name as a string. What else are you looking for?
S Keith
Greenhorn
Joined: Feb 06, 2008
Posts: 4
posted
0
Heres some code that should explain things.
I've tried to keep it similar to the code you gave.