Below should work without GOTO's...
Took me awhile to find this while having to do build scripts.
IF "%uname%" == "" (
ECHO Hello %uname%...
) ELSE (
ECHO error ...
)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.