launching a program with flags

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fireballbrady
    New Member
    • Jan 2012
    • 1

    #1

    launching a program with flags

    Hi!

    I am trying to run a program from a c# app.

    To run properly the the program needs some flaggs appended to it.

    right now I have the following:

    Code:
    System.Diagnostics.Process proc = new System.Diagnostics.Process();
                proc.EnableRaisingEvents = false;
                proc.StartInfo.FileName = "fbboot";
                proc.Start();
    looking at the target location in the properties to run this from a shortcut

    "C:\Program Files (x86)\FBI Software\FireBr idge Client\fbpri\fb boot.exe" fbpri fbsec

    How do i include the fbpri and fbsec as flags?


    I know that the coding is correct, if i change it from fbboot to any other program that I want to launch, that doesn't have flags involved, it works like a charm.
    Help!

    thanks,

    fireballbrady
Working...