|
-
October 1st, 2007, 06:42 AM
#1
Command Line parameters c#
Hi, All
How do can i start and application which takes in two put parameter via command line. I have an application which requires two input paramenters at start up and i would like to use process.start() to initiate this process whilst passing in to the process the two input parameters.
the process i want to start is eg.
public Report(string ReportPath, string SummaryPath)
and i would like to start Report.exe from my form class using process.start(c:\Report.exe plus the two input parameters). All my attemps have failed I will appreciate any help. Thanks in advance.
-
October 1st, 2007, 09:39 AM
#2
Re: Command Line parameters c#
http://www.c-sharpcorner.com/UploadF...dLineArgs.aspx
this show how well not with 2 arguments but 7
to set them for debug you can set it in project settings
and to call without a console you add the parameters to their target
of a shortcut to the program
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|