3ca6a5f046
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
16 lines
441 B
Batchfile
Executable File
16 lines
441 B
Batchfile
Executable File
@echo off
|
|
rem Expands wildcards in response file (arg 1) into output file (arg 2)
|
|
rem Note: requires ls.exe from GNU-WIN32 distribution, renamed to ls2.exe.
|
|
rem Correction: this is too slow, so we're using the built in 'dir'.
|
|
|
|
set newname=%temp\temp.tmp
|
|
sed -e "s/\//\\/g" %1 > %newname
|
|
|
|
set len=%@LINES[%newname]
|
|
rem set len=%@DEC[%len]
|
|
do i = 0 to %len by 1
|
|
set line=%@LINE[%newname,%i]
|
|
if NOT "%line" == "" dir /FB %line >> %2
|
|
enddo
|
|
|