Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6736653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:09:20+00:00 2026-05-26T11:09:20+00:00

At the moment I start a EXE-File so: System.Diagnostics.ProcessStartInfo processStartInfo = new System.Diagnostics.ProcessStartInfo(); processStartInfo.FileName

  • 0

At the moment I start a EXE-File so:

    System.Diagnostics.ProcessStartInfo processStartInfo = new System.Diagnostics.ProcessStartInfo();
    processStartInfo.FileName = "Stackoverflow.exe";
    processStartInfo.WorkingDirectory = ConfigurationManager.AppSettings["Path"] + name + @"\bin";
    System.Diagnostics.Process.Start(processStartInfo);

If i want to add Parameters , I would do it here right?:

System.Diagnostics.Process.Start(processStartInfo, params);

If not, where?

And the other thing is, that I would like to save the params for the exe, does it happen automatically or do I have to set this, while opening? If so, then how I could achieve that?

EDIT:

What I mean with save is..
I got a Form with Textbox, from there u can start a EXE, by example Stackoverflow.exe and in the Textbox u could write: “-hello” , now next time u open the form and select the EXE in the FORM, there is “-hello” still written, that means, it has been saved, thats what I want

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:09:21+00:00Added an answer on May 26, 2026 at 11:09 am

    Set the ProcessStartInfo.Arguments property. It’s just a string of space-separated arguments. You’ll need to quote any path names which include spaces, etc. It’s a bit of a pain, but that’s what’s there 🙁

    It’s not really clear what you mean by “saving” the parameters – nothing will remember the arguments you last used to start a process and apply the same things next time, no. You’d have to do that yourself. How you do that will depend on what else you’re doing – you could use a per-user setting, for example, the same way as any other setting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For the moment my batch file look like this: myprogram.exe param1 The program starts
I have a Process: Process pr = new Process(); pr.StartInfo.FileName = @wput.exe; pr.StartInfo.Arguments =
I'm learning ActionScript/Flex at the moment, and it's come time for me to start
At the moment, I'm creating an XML file in Java and displaying it in
At the moment i use selenium using HTMLSuite. The command i use to start
At this moment I start work on small web application based on MVC. Now
Im trying to start a wxPython app that (I have converted to an exe
I am working on Mac OS X at the moment, and wanted to start
i start with the programming of a JSF Website. At the moment all files
At the moment I have this configuration: build.xml: <!-- Ivy settings start--> <condition property=ivy.home

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.