Another approach: create a file, name if, say "javasomething.bat" and place your command line in it — will work immediately.
You can use a file as a parameter; to do that, write in a bath file:
java -jar "%1"
Yet another options. Forget this stupid (read my lips: "
stupid") Explorer!
Use one or another so called Orthodox file managers, see
http://en.wikipedia.org/wiki/Orthodox_file_manager#Orthodox_file_managers[
^]. Most of them implement standard Shell API as Explorer does but work nicely with command line (Explorer is very unfriendly to command line) and provide convenient tools to remember, bookmark and execute commands. I use TotalCommander (
http://en.wikipedia.org/wiki/Total_Commander[
^],
http://www.ghisler.com/[
^], shareware).
—SA