view scripts/ScriptWrapper.bat @ 4:86156dffebe8

Use the correct documentation extension.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 22 Jan 2021 16:42:10 -0800
parents 9235d8341a18
children
line wrap: on
line source

@echo off

rem ## A simple batch file for running other scripts sequentially.
rem ## The parameter should be a response file with one command line on
rem ## each line.

setlocal

set RESPONSEFILE=%1
set DEBUG=%2

for /f "delims=" %%I in (%RESPONSEFILE%) do (

	if "%DEBUG%" == "1" (
		echo Running script: %%I
	) else (
		%%I
	)
)