Solved

Telnet command to run .bat file

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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

624 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