Hi,
My question is, suppose I have an xml file say "myXml.xml" that can be stored in any directory on my PC and I set its default program (the one that will run when I double click myXml to "Myapplication.exe"
How do I determine the location of this file "myXml" when Myapplication starts, using java?
(Myapplication.exe is being programmed using java)
The reason I ask is that myXml would theoretically store application setting for Myapplication.exe and I would want to load them directly on start up if myApplication.exe is initiated by double click of an xml file
I understand how to use file objects and all that, I just dont know how to get either the location of this file "myXml" or its contents without hard coding its location within the application itself, cos as I said this file could be located virtually anywhere on the pc
Any help would be much appreciated!!!
Best regards
Michael