fwb@siemens.UUCP (02/11/86)
> Does anyone know how to detect a null as variable input in a batch file? > Specifically: > > foo %1 --how do I detect case where %1 is omitted, thus avoiding > an error? I've tried 'if %1=='':goto xx' as well as > ==' ' Try if %1X == X goto null ----------------------------------------------------- Frederic W. Brehm (ihnp4!princeton!siemens!fwb) Siemens Research and Technology Laboratories