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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:18:55+00:00 2026-05-23T21:18:55+00:00

I am getting some odd results when trying to run a process from a

  • 0

I am getting some odd results when trying to run a process from a string:

                    Process p = new Process();
                    p.StartInfo.WorkingDirectory = "dump";
                    p.StartInfo.FileName = s;
                    p.Start();

s = run.exe “mp4:production/CATCHUP/”

I am getting odd results such as:

"test.exe \"mp4:production/CATCHUP/\""

Obviously when this command executes, it throws an exception, how can I get rid of all of the backspaces?

  • 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-23T21:18:56+00:00Added an answer on May 23, 2026 at 9:18 pm

    May be I understand your problem. At least looking on your code, it seems to me that you pass like a p.StartInfo.FileName=s, where s="test.exe **\"mp4:production/CATCHUP/\"**"
    where part in bold is an argument for executable, which is wrong

    Try to do something like this:

      Process p = new Process();
      p.StartInfo.WorkingDirectory = "dump";
      p.StartInfo.FileName = "test.exe"; // only executable name run or test???
      p.StartInfo.Arguments = "mp4:production/CATCHUP/"; //only arguments
      p.Start();
    

    Regards.

    EDIT

    Good notice that in code presented run.exe became accidentially test.exe +1 for @Hans

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

Sidebar

Related Questions

I'm getting some weird behavior from IE when trying to change a session variable
I'm getting odd results in some VB6 code which I've narrowed to this: Debug.Print
We're getting some odd errors reported on our website, and are trying to find
I'm getting some odd results where 2 identical functions (one in PHP and one
I’m getting some odd results with my tests. I’m using a dual monitor setup
So I'm getting some odd errors such as illegal start of type and variable's
I'm getting some objects from an external library and I need to store those
I'm getting some really wierd linking errors from a class I wrote. I am
I'm getting some confusing results around myCustom.ashx handler. If i visit the handler via
I am getting some junk data returned from a ToString() call on a DateTime

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.