What I'm doing wrong now?Nothing, the Windows command prompt doesn't understand what a jar file is so can't run them as a regular "OS command"; it can only execute .exe applications that way and Java doesn't produce those, you'd need to defect to .NET if you want that. Only the Java runtime knows how to execute jars.
baftos wrote:Somewhere deep down I was actually thinking that this was actually added to Windows between now and yonks ago :s Well, I made a valiant attempt and failed miserably.gimbal2 wrote:Try it! At least in Windows 7, it works! In older versions, I don't know, but you can type 'start mydocument.doc'.
You can't just type 'mydocument.doc' in a command prompt and see Word being started.
baftos wrote:I just tried it.
Try it! At least in Windows 7, it works! In older versions, I don't know, but you can type 'start mydocument.doc'.