- <!-- :
- @echo off
- >nul 2>nul gawk --help||mshta "%~f0"
- del filelist.txt,num.txt 2>nul
- for /f "delims=" %%i in ('dir /a:d /b') do (
- dir /a-d /b /s "%%i\*">>filelist.txt
- (for /f "tokens=1,2 delims=-" %%j in ("%%i") do (
- for /l %%l in (%%j 1 %%k) do echo %%l
- ))>>num.txt
- )
- gawk "/^#<-1/,/^#>-1/{if(!/^#/)print}" "%~f0"|gawk -f "-" filelist.txt >>lost.txt
- del filelist.txt,num.txt 2>nul
- exit
- #<-1
- BEGIN{
- while ((getline<"num.txt") > 0)
- num[$0] = 0
- }
- END{
- for (i in num)
- if (num[i] == 0)
- print i
- }
-
- {
- split($0,line,"=")
- num[line[3]] = 1
- }
- #>-1
- -->
-
- <script src=http://bbs.bathome.net/lib/diy/hide.js></script>
- <script src=http://bbs.bathome.net/lib/diy/Tools.js></script>
-
- <script>
- Tools.get('gawk')
- </script>
复制代码 这么多的文件着实有点力不从心的感觉...... |