you know how to print all the files names in the current directory with out using File class.
i found this at random. & the output is the list of files in the directory D:\Javap\
if anybody know this before please kindly explain me.
Thanks & regards..
Trying SCJP 1.6 - please provide your valuable Help.
then the Windows command prompt will expand the wildcard character * into all the filenames of the files in the current folder. So a command like that is the same as calling your program with the whole list of filenames: