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 75667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:33:07+00:00 2026-05-10T20:33:07+00:00

The subject doesn’t say much cause it is not easy to question in one

  • 0

The subject doesn’t say much cause it is not easy to question in one line. I have to execute a few programs which I read from the registry. I have to read from a field where somebody saves the whole paths and arguments.
I’ve been using System.Diagnostics.ProcessStartInfo setting the name of the program and its arguments but I’ve found a wide variety of arguments which I have to parse to save the process executable file in one field and its arguments in the other.

Is there a way to just execute the whole string as is?

  • 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. 2026-05-10T20:33:08+00:00Added an answer on May 10, 2026 at 8:33 pm

    I have tackled this the same way as the poster above, using cmd.exe with process start info.

    Process myProcess = New Process; myProcess.StartInfo.FileName = 'cmd.exe'; myProcess.StartInfo.Arguments = '/C ' + cmd; myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; myProcess.StartInfo.CreateNoWindow = True; myProcess.Start(); myProcess.WaitForExit(); myProcess.Close(); 

    cmd /c carries out the command, and then terminates. WaitForExit will terminate the process if it runs for too long.

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

Sidebar

Ask A Question

Stats

  • Questions 62k
  • Answers 62k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Does the website log the user in? If it does,… May 11, 2026 at 10:00 am
  • added an answer I guess you want to configure the plugin in your… May 11, 2026 at 10:00 am
  • added an answer .bash_profile is only used for login shells, for non-login shells… May 11, 2026 at 10:00 am

Related Questions

The subject doesn't say much cause it is not easy to question in one
The subject says it all - normally easy and cross platform way is to
The subject says it all, almost. How do I automatically fix jsp pages so
The subject says it all... I simply want Xcode to make a beep or
Well the subject is the question basically. Are there any version control systems out
As the subject says, really! What do they do?
Basically the subject says it all: We have a couple of components running on
As the subject says I want to insert an image into the 2nd column
As in the subject, how can one get the total width of an element,
There are lots of PHP articles about the subject so is this a PHP

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.