输出CMD命令帮助到文本
echo off echo. cd.>XPCMD命令.txt >>XPCMD命令.txt echo XPCMD命令帮助 >>XPCMD命令.txt echo =========================================== >>XPCMD命令.txt echo =========================================== help >test.txt for /f %%i in (test.txt) do call :split "%%i,:" start XPCMD命令.txt del test.txt exit :split for /f "tokens=1* delims=," %%i in (%1) do ( %%i /?>>XPCMD命令.txt >>XPCMD命令.txt echo =========================================== >>XPCMD命令.txt echo ======================== =================== ) goto :eof =================== ) goto :eof
用户评论
ymhy53420 2018-12-28 21:58:21
确实可用,但有部分代码需要小改动。
LetMeCarryU 2018-12-28 21:58:21
学会了,挺简单的其实