Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Reply
How to pass multiples arguments in processStartInfo
Sourabh Somani
10 years ago
8.5k
Reply
I want to run some cmd command from c# code. So I am using process class like as following:
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.FileName = "CMD";
p.StartInfo.Arguments = "/C IPCONFIG.....";//
here I want to pass multiple arguments but how can I pass multiple aruments please give me any idea about it.
I want to pass like p.StartInfo.Arguments = "/C IPCONFIG Tree".
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
How to insert multiple image in word document using Interop
Polymorphism