Statistics
| Revision:

psd-data / tags / 0.5 / librairies / libliste.bat @ 60

History | View | Annotate | Download (451 Bytes)

1
echo off
2
if not exist Z (
3
for /D %%r in (*) do  (
4
                @echo lib,%%r >>Z
5
                @dir /B %%r >>Z
6
                @echo %%r
7
        )
8
)
9
if exist liste.txt del liste.txt
10
setlocal EnableDelayedExpansion
11
for /F "delims=, tokens=1,2*" %%i in (Z) do (
12
        if %%i==lib (
13
                set c=%%j
14
                @echo !c!
15
        ) else (
16
                @echo !c!:%%i >>liste.txt
17
        )
18

    
19
)
20
del Z
21
endlocal
22

    
23