agent_x91
04-21-2007, 05:55 PM
Just to check if anyone knows if this is possible (although I doubt it). I have made a scripting interpretation system, and ideally I want to be able to make files of type .lcs (my script extension) open with a JAR file which will then run the script through the interpretation class.
However, since JAR files themselves are opened with a program (i.e. javaw.exe), and generally a program specified as the "open with" program for a file type needs to be a valid Win32 application (which a jar file isn't) I'm not sure if this is actually possible.
Does anyone know how this could be possible? If it's not, I may simply make a C++ application which simply forwards the path of the script opened straight on to the java application, but I'd like to avoid having to do this if possible.
I'm using Windows XP Professional by the way.
However, since JAR files themselves are opened with a program (i.e. javaw.exe), and generally a program specified as the "open with" program for a file type needs to be a valid Win32 application (which a jar file isn't) I'm not sure if this is actually possible.
Does anyone know how this could be possible? If it's not, I may simply make a C++ application which simply forwards the path of the script opened straight on to the java application, but I'd like to avoid having to do this if possible.
I'm using Windows XP Professional by the way.