Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a batch file like this, the issue that I have is that if the first batch file fails, the second one never gets started, how can I get them to both keep going?

@echo off

I have tried this:

@echo off
start MapNetworkDrive_J.cmd
start MapNetworkDrive_Y.cmd

however, this starts two new command windows which after they are done remain open in the users session.

share|improve this question
up vote 3 down vote accepted

Use the call command:

@echo off
call MapNetworkDrive_J.cmd
call MapNetworkDrive_Y.cmd
share|improve this answer

Try to replace start by cmd -c

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.