《CMD命令速查手册》[b][font=楷体_GB2312][size=5][color=magenta]以下内容复制到记事本把后缀名TXT成bat文件,然后运行[/color][/size][/font][/b][table=98%][tr][td]@echo off
del
CMD命令速查手册.htm >nul
echo.===============================
echo......请稍候,构造htm文件中.....
echo.===============================
>
CMD命令速查手册.htm echo ^<head^>
>>
CMD命令速查手册.htm echo ^<title^>
CMD命令速查手册^</title^>
>>
CMD命令速查手册.htm echo ^<meta http-equiv="Content-Type" c ^/^>
>>
CMD命令速查手册.htm echo ^</head^>
>>
CMD命令速查手册.htm echo ^<A NAME="Top"^>
>>
CMD命令速查手册.htm echo ^<center^>
>>
CMD命令速查手册.htm echo ^<h1^>
CMD 命令速查手册^</h1^>
>>
CMD命令速查手册.htm echo Written by BBS.CPCW.COM %date%
>>
CMD命令速查手册.htm echo ^</center^>
>>
CMD命令速查手册.htm echo ^<br^>
ver|find "Windows XP" && goto:joke
for /f "tokens=1*" %%i in ('help^|more +3') do (
help %%i>nul && echo ^<a href="#%%i"^>%%i^</a^>^ ^ %%j >>
CMD命令速查手册.htm || echo ^ ^ ^ ^ %%i %%j>>
CMD命令速查手册.htm
>>
CMD命令速查手册.htm echo ^</br^>
)
for /f %%i in ('help^|more +3') do (
help %%i>nul && (
>>
CMD命令速查手册.htm echo ^<a name="%%i"^>
>>
CMD命令速查手册.htm echo ^<h2^>%%i^</h2^>
>>
CMD命令速查手册.htm echo ^<pre^>
help %%i>>
CMD命令速查手册.htm
>>
CMD命令速查手册.htm echo ^</pre^>
>>
CMD命令速查手册.htm echo ^<a href="#top"^>返回页首^</a^>
)
)
start
CMD命令速查手册.htm
goto:eof
:joke
for /f "tokens=1*" %%i in ('help^|more +1') do (
help %%i>nul && echo ^ ^ ^ ^ %%i %%j>>
CMD命令速查手册.htm || echo ^<a href="#%%i"^>%%i^</a^>^ ^ %%j >>
CMD命令速查手册.htm
>>
CMD命令速查手册.htm echo ^</br^>
)
for /f %%i in ('help^|more +1') do (
help %%i>nul || (
>>
CMD命令速查手册.htm echo ^<a name="%%i"^>
>>
CMD命令速查手册.htm echo ^<h2^>%%i^</h2^>
>>
CMD命令速查手册.htm echo ^<pre^>
help %%i>>
CMD命令速查手册.htm
>>
CMD命令速查手册.htm echo ^</pre^>
>>
CMD命令速查手册.htm echo ^<a href="#top"^>返回页首^</a^>
)
)
start
CMD命令速查手册.htm[/td][/tr][/table]> >更多精彩技术文章>http://www.66of.com