v4k-git-backup/tools/editor_rename.bat

26 lines
553 B
Batchfile
Raw Normal View History

2023-10-23 14:00:03 +00:00
@echo off
cd %~dp0\..
pushd tools\editor
for /r %%f in (.\*.c) do (
set "filename=%%~nxf"
if /i not "!filename!"=="rename.bat" (
echo Processing: %%f
..\fwkren.exe %%f to
) else (
echo Skipping %%f
)
)
for /r %%f in (.\*.h) do (
set "filename=%%~nxf"
if /i not "!filename!"=="rename.bat" (
echo Processing: %%f
..\fwkren.exe %%f to
) else (
echo Skipping %%f
)
)
echo All done.
endlocal
popd