This is just a small utility for all Non-4Dos users to get the Extension of a file ... well, it halts with a certain errorlevel for every Extension supported... Type GetExt to see the Extenstions... Add it to your pcbtest.bat... You should know how to do it :) Simpe PCBTEST.BAT Example ----------------- @echo off :checkextenstion GetExt %1 if errorlevel == 1 goto diz if errorlevel == 2 goto diz if errorlevel == 3 goto diz goto end :diz ZipZap ZipZap.cnf %1 %3 :end