How to Make more of the same file?
Posted: 17 Mar 2016 06:09
So I want to make a buttload of the same png file name to make it easier on my behalf. Could someone tell me what is wrong with the code below?
Code: Select all
set Number=0
for %%a in (.) do set currentfolder=%%~na
echo. > "%currentfolder%.png"
for %%f in (*.png) do (
REM Sets file as the file name...
set File="%%~nf Sprite"
)
:A1
set /a Number=%Number%+1
echo. > "%File% %Number%.png"
if %Number% EQU 5 pause
if %Number% EQU 20 pause
if %Number% EQU 50 pause
goto A1