for /f "delims=" %i in (\'dir /b ".\\0000-*.*"\') do rename "%i" "%i:~5"
If seems that cmd doesn\'t run ~5 parame