Solved

Telnet command to run .bat file

Posted on 2004-10-06
4
909 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
  • 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now