- @echo off
- set info=互助互利,支付宝扫码头像,感谢赞助
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set "文件夹1=A"
- set "文件夹2=B"
- (for /f "delims=" %%a in ('dir /a-d/b "%文件夹2%"') do echo;%文件夹2%\%%~nxa)>"%tmp%\t.t"
- (for /f "delims=" %%a in ('dir /a-d/b "%文件夹1%"') do (
- set "line1=%文件夹1%\%%~nxa"
- set /p line2=
- setlocal enabledelayedexpansion
- echo;!line1!,!line2!
- endlocal
- ))<"%tmp%\t.t">"list.txt"
- echo;%info%
- pause
复制代码
|