Posts by Diego S. • 11 points
1 post
-
1
votes2
answers107
viewsA: .bat that deletes the file name leaving only what is inside ()
Replace . txt with the correct extension of your files. for %%f in (*_*_*.txt) do @( for /F "usebackq tokens=2,4 delims=_." %%p in ('%%f') do @( ren %%f %%p.%%q ) ) If the files do not have…