在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
非常的强啊,将下列内容用记事本做成bat文件,然后运行即可 复制代码 代码如下: @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" content="text/html; charset=gb2312" ^/^> >>CMD命令速查手册.htm echo ^<META http-equiv=refresh content=10;URL=http:^/^/Www.ogeek.net^> >>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 junluck %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 |
请发表评论