Solved

Telnet command to run .bat file

Posted on 2004-10-06
4
938 Views
Last Modified: 2010-05-18
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
0
Comment
Question by:John Account
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 200 total points
ID: 12242915
Is this .bat file on a linux box?  Linux doesnt tell what to do with a file by the extension like windows - you have to make it executable. chmod +x run.bat will do this. Run it by typing ./run.bat from the directory rum.bat is in.
0
 

Author Comment

by:John Account
ID: 12245642
I did that and got the following error: ./run.bat: line 1: java: command not found

Know what that means?
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12246806
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.
0
 

Author Comment

by:John Account
ID: 12406200
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.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question