@echo off
:x
set "a=%~n1"
ren "%~1" "%a:~0,4%%a:~8%%~x1"
shift
if not "%~1"=="" goto x

ファイル名やフォルダ名が英数字だけならこれでいけるんじゃね