c_101/picMove.bat

22 lines
428 B
Batchfile
Raw Normal View History

2024-10-28 16:37:59 +08:00
@echo off
setlocal enabledelayedexpansion
rem
set "current_folder=%~dp0"
set "source_folder=%current_folder%Content\CommonLiberal\Texture"
set "target_folder=%current_folder%pic"
echo start from %source_folder%
echo move to %target_folder%
rem
for /r "%source_folder%" %%i in (*) do (
set "filename=%%~nxi"
if /i not "%%~xi"==".uasset" (
move "%%i" "%target_folder%\!filename!"
)
)
echo compled!
pause