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. opening command line from asp.net application

opening command line from asp.net application

Scheduled Pinned Locked Moved ASP.NET
asp-netcsharphelpquestion
3 Posts 3 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.
  • J Offline
    J Offline
    jabbarsb
    wrote on last edited by
    #1

    hi friends, i am developing an application using aspnet 2005 i need to open the command window from the web page and execute some file from the command window and close the command window how can i do this in my web application i am trying something with process.start("cmd.exe") but till now i didnt get any solution can anybody help me

    jabbarsb

    L I 2 Replies Last reply
    0
    • J jabbarsb

      hi friends, i am developing an application using aspnet 2005 i need to open the command window from the web page and execute some file from the command window and close the command window how can i do this in my web application i am trying something with process.start("cmd.exe") but till now i didnt get any solution can anybody help me

      jabbarsb

      L Offline
      L Offline
      l0kke
      wrote on last edited by
      #2

      You mean to run cmd.exe on client side? You can not do this, unless client install ActiveX or similar component. If you could, it would be serious security hole and it should be reported to browser vendor to be patched :) Pilo

      1 Reply Last reply
      0
      • J jabbarsb

        hi friends, i am developing an application using aspnet 2005 i need to open the command window from the web page and execute some file from the command window and close the command window how can i do this in my web application i am trying something with process.start("cmd.exe") but till now i didnt get any solution can anybody help me

        jabbarsb

        I Offline
        I Offline
        indianet
        wrote on last edited by
        #3

        Process.Start("cmd.exe","path_to_batch_file")

        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