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. probleam when run batch file on iis

probleam when run batch file on iis

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netwindows-admin
2 Posts 2 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.
  • R Offline
    R Offline
    Rinki Mukheraji
    wrote on last edited by
    #1

    i have a batch file (aa.bat) when i run batch file in asp.net ProcessStartInfo startinfo = new ProcessStartInfo(); startinfo.RedirectStandardOutput = false; startinfo.RedirectStandardError = false; startinfo.UseShellExecute = true; startinfo.FileName = "C:\\aa.bat"; Process.Start(startinfo); then successfull run when project run on the localhost that time not run batch file, why ? and filnally my question is that when run batch file open command window. i want to that not show command window e.g hidden. how hidden batch file.

    P 1 Reply Last reply
    0
    • R Rinki Mukheraji

      i have a batch file (aa.bat) when i run batch file in asp.net ProcessStartInfo startinfo = new ProcessStartInfo(); startinfo.RedirectStandardOutput = false; startinfo.RedirectStandardError = false; startinfo.UseShellExecute = true; startinfo.FileName = "C:\\aa.bat"; Process.Start(startinfo); then successfull run when project run on the localhost that time not run batch file, why ? and filnally my question is that when run batch file open command window. i want to that not show command window e.g hidden. how hidden batch file.

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      You want to run a batch file using ASP.net. You know that this will always run it on the server, don't you - the open command window you're aiming for will be there for nobody to see...

      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