4cade/bin/buildfxful.bat

15 lines
242 B
Batchfile
Raw Normal View History

2021-10-08 06:28:11 +00:00
@echo off
setlocal enabledelayedexpansion
for /f "tokens=*" %%a in (%1) do (
2021-10-14 05:43:50 +00:00
set f=0
call :x %%a
2021-10-08 06:28:11 +00:00
if !f!==2 goto:eof
2021-10-16 05:34:00 +00:00
if !f!==0 1>nul copy /b /y %2+%3\%%a %2
2021-10-08 06:28:11 +00:00
)
goto:eof
2021-10-14 05:43:50 +00:00
:x
2021-10-08 06:28:11 +00:00
set a=%1
if not x%a:#=%==x%a% set/a f=1
if not x%a:[=%==x%a% set/a f=2