Super User is a question and answer site for computer enthusiasts and power users. 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 the first .bat file, down.bat, for downloading movie trailers from

C:\wget.exe -U "QuickTime/7.6.2" %1

And I also have this second file, batch.bat with all the trailers I want to download:


When I run it from cmd.exe, only the first trailer gets downloaded, just like there is only one line in the batch.bat file.

How to make it work properly?

share|improve this question
up vote 7 down vote accepted

In batch.bat, insert CALL before every line.


CALL down
CALL down
CALL down
CALL down

The reason for this is that if you just start one bat file from another, only one of them will exit, while if using CALL, when the called bat file exits, the calling bat file will continue executing.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .