@rem echo off if z%1==z (start "send" send.exe /c &goto e) if z%2==z start "send" send.exe /c %* . if not z%2==z start "send" send.exe /c %* :e