]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/expdwild.bat
mention wxAUI
[wxWidgets.git] / distrib / msw / expdwild.bat
... / ...
CommitLineData
1@echo off
2rem Expands wildcards in response file (arg 1) into output file (arg 2)
3rem Note: requires ls.exe from GNU-WIN32 distribution, renamed to ls2.exe.
4rem Correction: this is too slow, so we're using the built in 'dir'.
5
6set newname=%temp\temp.tmp
7sed -e "s/\//\\/g" %1 > %newname
8
9set len=%@LINES[%newname]
10rem set len=%@DEC[%len]
11do i = 0 to %len by 1
12 set line=%@LINE[%newname,%i]
13 if NOT "%line" == "" dir /FB %line >> %2
14enddo
15