I am using the call
command:
call beingcalled.bat randomnumber
In beingcalled.bat:
@echo off
set call=%1
echo %call%
set call=%call%%call%
call caller.bat %call%`
In caller.bat:
@echo off
set calltwo=%1
echo %calltwo%
if "%calltwo%"== "" (
echo Error
) else (
call beingcalled.bat randomnumber
)
Why does the command if "%calltwo%"== ""
not work? And how do I see if a variable was set?