merge.bak 314 B

1234567891011121314151617181920
  1. @echo off
  2. del dbc.data
  3. (for %%a in (*.txt) do (
  4. for /f "usebackq tokens=*" %%b in ("%%a") do (
  5. echo,%%b
  6. )
  7. ))>dbc.data
  8. md bak
  9. copy *.txt .\bak\*
  10. del *.txt
  11. @echo off
  12. for %%j in (dbc.data) do (
  13. (for /f "tokens=*" %%i in (%%j) do findstr /C:"%%i" $>nul||echo %%i)>$
  14. move $ %%j
  15. )
  16. @echo off