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 multiple batch files and vbs files , when i try to create a batch to call them it stop after the last batch file and dont execute the vbs.

without giving any error

if i put the vbs at the start it execute it alone.

any advice ?

@echo off 
call batch1.bat 
call batch2.bat 
cscript //nologo test.vbs 
share|improve this question
Try to post your batch file (the one that calls) all of the others – Mathias R. Jessen Jan 11 '12 at 18:15
@echo off call batch1.bat call batch2.bat cscript //nologo test.vbs – Eddy Jan 11 '12 at 18:18

Try dropping the call commands and moving the //nologo to after the test.vbs so it will look like this. That is mostly a personal taste change but I have a couple of Batch files that call multiple batch and vbs files and have never had an issue. If that doesn't work, my only guess is that something is wrong with the environment.

@echo off 



cscript test.vbs  //nologo
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.