Hey guys I have created a WebCamFeeder and WebCamDisplayer .. A Video conference if I must call it that using java using JMF...

I am trying to create a .bat file so that I dont manually have to type in (Java WebCamTransmit) trough command promt on the on client and Server side every single time I want something to run ...

my .bat files look as follows ...

cd C:\Program Files (x86)\Java\jdk1.6.0_24\bin
java AudioTransmitter
pause

cd C:\Program Files (x86)\Java\jdk1.6.0_24\bin
java VideoTransmitter
pause

However It never recognises the file in cmd prompt ... Im sure there is a very simple to solution to this or im just being really silly ...


* Can I combine both those commands into one .bat file so the user can pick option 1/2/3 .. audio or video or both to run respectively ...