I need to check if one or two parameters are given by the user. Depending on that, different functions will apply.
How can i use anything like OR or AND in this case?
  @echo off
    :BEGIN
            echo START
    
            set /p var1=
            set /p var2=
    
            if %var1%=="" if %var2%=="" goto BEGIN
            if exist %var1% OR %var2% goto ONE
            if exist %var1% if exist %var2% goto TWO
    
    :ONE
            ECHO You give only one parameter
            <code here>
            goto EXIT
    
    :TWO
            ECHO You give two parameters
            <code here>
            goto EXIT
    
    
    :EXIT
    exit
Thanks!
 
    