HI, I'm developing a desktop search directory[in java] where in i want the file names that a present to act as a link which can open a "windows explorer" program.Also it should open it with displaying the folder containg that file. Can anyone please tell how to do this in java.
posted 11 years ago
YOu can use Runtime.exec to start external programs. The JavaIntermediateFaq links to an article explaining some of the problems to avoid with this approach.
How to have it open a particular directory depends on what command-line parameters it accepts; you'll have to investigate those.