FG
💻 Software

.bat file: only the first line is being executed - why?

Fresh5 days ago
Mar 15, 202619681 views
Confidence Score0%
0%

Problem

I have the first .bat file, down.bat, for downloading movie trailers from apple.com: 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 …

Error Output

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

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: .bat file: only the first line is being executed - why?

Low Risk

In batch.bat, insert CALL before every line. Example: 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 execut…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment