• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

c# - how can 1 executable be started by another?

i would like to know how 1 app can start another app.
just like u do in "CMD.exe"
myprogram.exe -logion ..... ...... -pass .....

thanx for reading and kind regards.
1 Solution
Jaime OlivaresSoftware ArchitectCommented:
you can do as:

System.Diagnostics.Process.Start("myprogram.exe", "-arg1 -arg2");

also ensure to provide the proper path if the program is not in the same forlder as your running application.
Natural_DemonAuthor Commented:
thnx for prompt reply

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now