返回列表 发帖
  1. @echo off&setlocal enabledelayedexpansion
  2. del 2.txt>nul 2>nul
  3. for /f "delims=" %%i in (1.txt) do (
  4.     if not defined %%i set %%i=1&echo;%%i>>2.txt
  5. )
  6. pause
复制代码

TOP

返回列表