Enabling CMD (Command prompt shell)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hona
    New Member
    • Sep 2007
    • 7

    #1

    Enabling CMD (Command prompt shell)

    I am using appachi tomcat 6.0.10 and it is running fine..
    All my web applications are working well too..
    IMy Question is: In one of the web pages that i have to develop, i have to link to cmd and run a batch file..
    In my case when i make the hyperlink, it will not run the batch file rather it will link to view the text (which is list of commands that should run under certain utility). This is because of certain default setting that does not allow for any scripts to run..


    Any body have any idea on how could i resolve this ?

    Your help is highly appreciated ..


    Thank You,
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Are you trying to run the batch file on the server or the client?

    If it is intended to be a server side script, you will need to execute it from inside a scripting language, PHP, Perl, or in your case, JSP.

    If you want to run it on the client's computer, you will need to instruct them to download the file, and execute it directly.

    Comment

    Working...