cmd and HTML

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

    cmd and HTML

    Hi,
    I am new to html and i need to do the following:
    Create a link to a batch file that runs under command prompt to execute a set of commands.
    when i link(create the hyperlink) if i run it locally it wil work, but when i put it on the server side instead of running the commands it will just open the batch file and not execute it.

    Do you have any idea how to overcome this problem.

    Your help is highly appreciated.

    Thank You,
  • MarkoKlacar
    Recognized Expert Contributor
    • Aug 2007
    • 296

    #2
    Originally posted by hona
    Hi,
    I am new to html and i need to do the following:
    Create a link to a batch file that runs under command prompt to execute a set of commands.
    when i link(create the hyperlink) if i run it locally it wil work, but when i put it on the server side instead of running the commands it will just open the batch file and not execute it.

    Do you have any idea how to overcome this problem.

    Your help is highly appreciated.

    Thank You,
    Hi,

    is there a particular reason you want to do this from HTML?

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      You probably don't have server permissions set to allow you to execute batch files or executables.

      Comment

      • hona
        New Member
        • Sep 2007
        • 7

        #4
        Hi,
        I would like to connect to tool that works in cmd.
        How to reset my server's permission. I am using Appachi Tomcat as a server environment.

        Thank You,

        Comment

        • drhowarddrfine
          Recognized Expert Expert
          • Sep 2006
          • 7434

          #5
          Are you in charge of this server or is this someone elses?

          Comment

          • hona
            New Member
            • Sep 2007
            • 7

            #6
            Yes I am in charge of this server, it is my project

            Comment

            • hona
              New Member
              • Sep 2007
              • 7

              #7
              Originally posted by drhowarddrfine
              Are you in charge of this server or is this someone elses?

              Yes I am in charge of this server, (It is appache tomcat servlet environment). Can you please tell me if you know how to configure it to run the batch files in command prompt environment and not open it.?

              Thank You

              Comment

              • drhowarddrfine
                Recognized Expert Expert
                • Sep 2006
                • 7434

                #8
                I don't use Apache. Ask on the Apache board.

                Comment

                Working...