how to create a path in java without define the folder location? for example:
String directory = "/works/abc/"
File fileDirectory = new File(directory );
This directory may be can save at local c, or may be can save at local D. When user change location disk, so that java can auto find that folder.
Thanks