Page 2 of 2

Re: copy file & rename

Posted: 12 Apr 2012 11:53
by foxidrive
Download byte5.exe and this should work to change all the files.

Test it on a sample set of files.

http://astronomy.comoj.com/byte5.exe

Code: Select all

@echo off
for /f "delims=" %%a in ('dir *.mdl /b /s') do (
echo "%%a"
byte5 "%%a"
move "%%a.tmp" "%%a" >nul
)


FWIW I wrote the tool in PureBasic so it's not a random exe file of unknown origin.