System.Diagnostics.Process.Start

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jm

    #1

    System.Diagnostics.Process.Start

    Hi all

    Im using System.Diagnost ics.Process.Sta rt to launch external apps from my
    app but the working directory seems to point to where my app is located. How
    can i get around this and basically say the working directory is the path of
    the app that im launching ? I used shellexec api under vb6 is there an
    equivalent built into .net ? Any help is greatly apprecuated

    Thanks


  • Chris Podmore

    #2
    RE: System.Diagnost ics.Process.Sta rt

    Please don't post the same question but with different subjects.

    "Jm" wrote:
    [color=blue]
    > Hi all
    >
    > Im using System.Diagnost ics.Process.Sta rt to launch external apps from my
    > app but the working directory seems to point to where my app is located. How
    > can i get around this and basically say the working directory is the path of
    > the app that im launching ? I used shellexec api under vb6 is there an
    > equivalent built into .net ? Any help is greatly apprecuated
    >
    > Thanks
    >
    >
    >[/color]

    Comment

    • Crouchie1998

      #3
      RE: System.Diagnost ics.Process.Sta rt

      System.Diagnost ics.Process.Sta rt("C:\autoexec .bat") for example. Just pass
      the path & filename complete & it will start as you want it to

      "Chris Podmore" wrote:
      [color=blue]
      > Please don't post the same question but with different subjects.
      >
      > "Jm" wrote:
      >[color=green]
      > > Hi all
      > >
      > > Im using System.Diagnost ics.Process.Sta rt to launch external apps from my
      > > app but the working directory seems to point to where my app is located. How
      > > can i get around this and basically say the working directory is the path of
      > > the app that im launching ? I used shellexec api under vb6 is there an
      > > equivalent built into .net ? Any help is greatly apprecuated
      > >
      > > Thanks
      > >
      > >
      > >[/color][/color]

      Comment

      Working...