echo off c:\CLIP\CLIP_1.EXE %1 if errorlevel == 1 goto CLIP_2 goto ready :CLIP_2 set clip_dir=C:\CLIP c:\CLIP\CLIP_2.EXE :ready