Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to run bat file from server on client machine [modified]

how to run bat file from server on client machine [modified]

Scheduled Pinned Locked Moved ASP.NET
sysadminhelptutorial
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gaurav Dudeja India
    wrote on last edited by
    #1

    I want to run a bat file from server on a client machine, it includes print command, i am doing this with process but it shows no error and no output as well.

    modified on Monday, March 15, 2010 5:01 AM

    J J R A 4 Replies Last reply
    0
    • G Gaurav Dudeja India

      I want to run a bat file from server on a client machine, it includes print command, i am doing this with process but it shows no error and no output as well.

      modified on Monday, March 15, 2010 5:01 AM

      J Offline
      J Offline
      JHizzle
      wrote on last edited by
      #2

      Just to clarify: you want a batch file to run on a client machine? I doubt that's possible, that would be quite the security risk. if it's the other way around, i've done that before and sometimes it's a permissions issue, can you post what you've tried?

      G 1 Reply Last reply
      0
      • J JHizzle

        Just to clarify: you want a batch file to run on a client machine? I doubt that's possible, that would be quite the security risk. if it's the other way around, i've done that before and sometimes it's a permissions issue, can you post what you've tried?

        G Offline
        G Offline
        Gaurav Dudeja India
        wrote on last edited by
        #3

        yes i want to run bat file(from server) to run on client machine, it is in our intranet website.

        J 1 Reply Last reply
        0
        • G Gaurav Dudeja India

          I want to run a bat file from server on a client machine, it includes print command, i am doing this with process but it shows no error and no output as well.

          modified on Monday, March 15, 2010 5:01 AM

          J Offline
          J Offline
          J4amieC
          wrote on last edited by
          #4

          Put this in a batch file: format c: Now imagine I could execute that batch file on your PC from my website. Do you see a problem here?

          1 Reply Last reply
          0
          • G Gaurav Dudeja India

            yes i want to run bat file(from server) to run on client machine, it is in our intranet website.

            J Offline
            J Offline
            JHizzle
            wrote on last edited by
            #5

            It can't work then. Sorry.

            1 Reply Last reply
            0
            • G Gaurav Dudeja India

              I want to run a bat file from server on a client machine, it includes print command, i am doing this with process but it shows no error and no output as well.

              modified on Monday, March 15, 2010 5:01 AM

              R Offline
              R Offline
              R Giskard Reventlov
              wrote on last edited by
              #6

              What are you trying to do? It may be possible to achieve it in a different way. Running a batch file on the client is not (afaik) allowed. Think of the damage you could do.

              Tychotics "The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!" Larry Niven

              1 Reply Last reply
              0
              • G Gaurav Dudeja India

                I want to run a bat file from server on a client machine, it includes print command, i am doing this with process but it shows no error and no output as well.

                modified on Monday, March 15, 2010 5:01 AM

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #7

                You can do it using ActiveX. But ActiveX will work only on IE.

                Cheers ! Abhijit Codeproject MVP

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups