Windows' "open with" with java and a jar file
Posted
by Boldewyn
on Super User
See other posts from Super User
or by Boldewyn
Published on 2010-03-29T13:34:20Z
Indexed on
2010/03/29
13:43 UTC
Read the original article
Hit count: 253
I use the rest-client to test REST APIs. It is basically just a .jar file, that is called via java -jar rest-client.jar
. The rest-client uses two file extensions, in my case .rcq
, to store data in files.
I want to let the explorer open .rcq
files with java -jar rest-client.jar <infile>
, however, if I configure it (via GUI) to use the JAR alone, it obviously doesn't work. I'd be fine with touching HKEY_CLASSES_ROOT for this, as well, but don't know the exact syntax.
By the way: It's WinXP.
© Super User or respective owner