Sorry. I think your question is incomplete. Do you want to rename "file134342" to what?
In your comment, you said: rename it only to โfileโ, but this only works if there is only one file with this name. Anyway, here it is:
for %%f in (file*) do ren %%f file
If this is not what you want, then give us more detailed information (you always show details from the very beginning).
source share