view scripts/ScriptWrapper.bat @ 8:5cd58b3fd93d

Clean-up project name before setting it, and do proper error reporting.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 26 Jan 2021 12:00:31 -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
	)
)