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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:03:01+00:00 2026-05-16T05:03:01+00:00

I want to have a cmd file with something like: :one start /wait (blabla1.exe

  • 0

I want to have a cmd file with something like:

:one
start /wait (blabla1.exe -q -m 1>blabla1.log 2>&1)

:two
start /wait (blabla2.exe -q -m 1>blabla2.log 2>&1)

where I want the output of the blabla application not the output of the start command.

Is it even possible to have the redirections “local” inside the start command?

Do I have to create a 1 line cmd containing
blabla1.exe -q -m 1>blabla1.log 2>&1
and pass it to the start command?

Update: I need the first one (blabla1.exe) to be finished before I launch the 2nd one (blabla2.exe). That’s the reason for using start /wait.

(Windows XP and up)

  • 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-16T05:03:02+00:00Added an answer on May 16, 2026 at 5:03 am

    Given that you are redirecting output to a file, and waiting for the process to finish, is the extra window started by ‘start’ actually required? In fact, if there WAS some way to redirect the output when using start, then the windows that popped up wouldn’t even have any output…making them even more meaningless.

    If not, simply remove the “start /wait” and call the exes directly.

    If it IS necessary…then I’m not sure.

    UPDATE: I am fairly certain just removing the “start /wait” will produce the behavior you desire. See below:

    (Create the following batch file: foo.cmd

    :one
    notepad.exe
    :two
    dir
    

    Note that dir will not echo until you close notepad.

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

Sidebar

Related Questions

I have created an MSI file and then setup.exe with setupbld.exe. I want to
I want to have two items on the same line using float: left for
I want to have an executable file that will call some other programs. The
I have a huge tab separated file which I want to sort on its
I want to make sure that I delete required files. I have code something
I've got a windows batch file, with a few sub-routines in it something like
I have a dot file generated from my code and want to render it
I have many folders of images, and I want to create a batch file
The dataset have tables and columns details got from the XML file.I want to
I want to use a exe file (convert.exe), inside my C++ program. This exe

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.