@echo off for %%i in (*.enc) do call testenc.cmd %%~ni