view checkenv.cmd @ 36:aa9ab6cbaa26

Duke has been banished from the dock.
author David Barts <n5jrn@me.com>
date Thu, 30 Apr 2020 23:38:24 -0700
parents cd2ca4727b7f
children
line wrap: on
line source

@echo off
SETLOCAL EnableDelayedExpansion

for %%i in (%*) do (
	if "!%%i!"=="" (
		echo ERROR: %%i not set
		exit/b 1
	)
)

exit/b 0