view scripts/ScriptWrapper.bat @ 5:0afb2c0a6477

Add help info on statuslines.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 22 Jan 2021 16:52:30 -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
	)
)