Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
comomolo

/b switch for start command

3 posts in this topic

Hi guys,

If you, like me, use a bunch of cmd files instead of a big one, you might find it interesting to add the /b switch to the start command. This makes all the cmd files to be executed in the same window. Otherwise, everytime you start an external cmd file you'll get a new window opened.

Just in case: /wait can also be put as /w, which saves some typing... :-)

Regards to everyone.

CM

0

Share this post


Link to post
Share on other sites

I find that quite risky... several setup applications running at the same time are bound to conflict into each other

0

Share this post


Link to post
Share on other sites

Maybe I expressed myself not so well...

These are not many setups running together but in sequence (I still use the /wait command switch!!!).

The reason why I'm doing things like this is because I administer a few PCs from the family so I have folders containing all what is required for installing any single program or driver, and depending on what anyone wants I put inside the $OEM$\$1 folder only what is needed. All these folders have inside an install.cmd file containing the silent installation commands for that particular software or driver. So I don't have to remember everytime what are the switches.

The main.cmd file will call sequentially all the install.cmd files inside all the folders and that makes it very simple. But if I don't use the /b switch after start, I'll get a new window opened, that's the only thing I want to avoid, so my start commands look like this:

start /b /w

Regards,

CM

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.