![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
this looks like our best route to avoid the bat file and command console. microsoft confirmed this morning that there is a 130 character limit for this entry in the windows NT registry because the UI component for editing the file association imposes that limit. no workaround.
> I'd write a little Windows program in C/C++ that reads an INI file that looks something like this:
> When you run the program it would appropriately assemble all the above, add any parameters that it was given and ShellExecute() the results.> Note, this would not be console app, it would be a Windows app; that is, it would have a > If you wanted to get fancy, it could even look around for the JVM if the specified one isn't found (or at least show a useful message). > Another option is to do all this with a little JScipr, which can be run on all windows platforms with wscript. In that case, all the above details would be in the JScript, the link would contain
Replies: |
Sponsored Links
|