Help! How to run a jar file which is specified a path

hi, AllI met a problem couldn't be solved.I don't know how to run a specified path jar. For example, test.jar in c:\, I want run the jar anywhere on my computer, i worte a bat file like that java -jar c:\test.jar , but the bat file couldn't work.
[277 byte] By [J_Town] at [2007-9-30 18:31:38]
# 1
I believe windows will search for batch files on the path.So if if your bat file was "doit.bat" and it is in "C:\mystuff" and "C:\mystuff" is in the path then you can type "doit" and windows will find it.
jschell at 2007-7-6 20:35:40 > top of Java-index,Administration Tools,Sun Connection...