Link to home
Start Free TrialLog in
Avatar of John Account
John Account

asked on

Telnet command to run .bat file

I'm using Putty.  Can one anyone tell me the Telnet command to run a .bat file.  The .bat file name I want to run is named run.bat. I tried just entering the file name and hitting Enter, but that doesn't work. Your help would be much appreciated.

Many Kind Thanks In Advance,
John
ASKER CERTIFIED SOLUTION
Avatar of owensleftfoot
owensleftfoot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of John Account
John Account

ASKER

I did that and got the following error: ./run.bat: line 1: java: command not found

Know what that means?
Its obviously a java script file. Either you dont have java installed or the first line of the script has an incorrect path for java.
Hi owensleftfoot. Your solution worked. I discovered that the reason it wasn't working before was because my jar files don't work with the newest version of the Java JRE. So, after, installing an older JRE, and using your help, everything was smooth. Thank you.