@Echo off :TEST REM ** On the line below, change all PATHS to the paths to YOUR OWN REM ** ULPTEST.EXE and ULP.CFG! D:\3party\ulp\ulptest -CD:\3party\ulp\ulp.cfg -F%1 -M%2 -D%3 -N%PCBNODE% if errorlevel 11 goto giflite if errorlevel 10 goto lowres if errorlevel 9 goto badgif if errorlevel 7 goto oldage if errorlevel 5 goto dup if errorlevel 4 goto error if errorlevel 3 goto unpack if errorlevel 2 goto reserved if errorlevel 1 goto unknown if errorlevel 0 goto end REM ** Change ALL occurences of my path "3party\ulp\failtxt" with the path to REM ** YOUR own $$ULP$$ file! :giflite cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp11e goto end :lowres cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp10e goto end :badgif cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp9e goto end :oldage cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp7e goto end :dup cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp5e goto end :error cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp4e goto end :unpack cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp3e goto end :reserved cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp2e goto end :unknown cd\ cd 3party\ulp\failtxt ren $$ulp$$ $ulp1e goto end :end end