I want a URL link for example C:\windows\cmd.exe"and here the possibility to put a co

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OvidiuGab
    New Member
    • Aug 2013
    • 3

    I want a URL link for example C:\windows\cmd.exe"and here the possibility to put a co

    I want to have a clickable link which runs cmd and a specific command.I know how to run it from Run(cmd /c "command").
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    A web page can not access and run executables on the local file system because of security concerns.

    Comment

    • OvidiuGab
      New Member
      • Aug 2013
      • 3

      #3
      Hey, thanks for the response, in the meantime I have abandoned the ideea to do that and picked up the ideea to use a batch file but I would like to know how to "press" a button with cmd if a popup message appears when it is trying to run a program.

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        I don't know what that means.

        Comment

        • OvidiuGab
          New Member
          • Aug 2013
          • 3

          #5
          Well I know there is a command in cmd like open /-y filename and it will open the file and if there are some popup messages it will answer all of them with yes.

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

            #6
            Batch files can't press buttons

            Comment

            • shoppingin
              New Member
              • Aug 2013
              • 10

              #7
              It may be better to use perl.

              Comment

              Working...