I wish all forums were as helpful and friendly as this one

That is brilliant! It does exactly what I want, thanks mate!aGerman wrote: ↑30 Jan 2018 18:14Actually only one line of code.SteffenCode: Select all
@echo off &setlocal set "copyfile=1.eep" set "searchext=*.z64" for %%i in ("%copyfile%") do for %%j in (%searchext%) do copy "%%~i" "%%~nj%%~xi"