In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to use batch processing to create a quick check manual of CMD commands, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.
The code is as follows:
@ echo off & setlocal EnableDelayedExpansion
Echo.==
Please wait a moment for echo to start creating the CMD Command Quick check Manual.
Echo creates web page file headers...
> CMDHelp.htm echo ^
> CMDHelp.htm echo ^ CMD Command Quick check Manual ^
> > CMDHelp.htm echo ^
> > CMDHelp.htm echo ^
> > CMDHelp.htm echo ^
> CMDHelp.htm echo ^ ^ CMD Command Quick check Manual ^% username% -% date% ^ ^
> > CMDHelp.htm echo ^
Echo creates a help directory...
For / f "delims=:"% fin ('help ^ | findstr / n "^ ASSOC"') do set head=%%f
Set / a head-=1
If "% head%" = = "0" (set head=) else set head=skip=%head%
For / f "% head% delims="% I in ('help') do (
Set str=%%i & set nameplate strlux 9! & set nameplate strlux 9!
Echo.roomname! | findstr / v "^ [Amurz]" > nul & & echo! desc! > CMDHelp.htm
If errorlevel 1 echo ^! name! ^ ^ ^ desc! > CMDHelp.htm
)
> > CMDHelp.htm echo ^ returns to the top ^ ^
Echo create help text...
Cscript / / h:cscript / / b
For / f% I in ('help ^ | findstr "^ [Amurz]"') do (
> > CMDHelp.htm echo ^% I ^ ^
Echo is in the help body to create% I...
If / I "% I" = "SC" echo Please press Y key to continue.
Help I | findstr "" > nul
If not errorlevel 1 (
For / f "delims=" an in ('help% i') do (
Set st=%%a & set statically qualified: ^!
Echo! st! > > CMDHelp.htm
)
) else help I > > CMDHelp.htm
> > CMDHelp.htm echo ^ ^ returns to the top of the page ^
)
Echo "CMD Command Quick check Manual" has been created, open it with any key.
Echo.==
Pause > nul & & start CMDHelp.htm
Thank you for reading this article carefully. I hope the article "how to use batch processing to create CMD commands Quick check Manual" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.