How to use batch to generate a web page file and open it
This article is about how to use batch processing to generate a web page file and open it. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Very strong, make the following into a bat file with notepad, and then run it
The code is as follows:
@ echo off
Del CMD Command Quick check Manual. HTM > nul
Echo.==
Echo. Please wait a moment to construct the htm file.
Echo.==
> CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^ CMD Command Quick check Manual ^
> > CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^ CMD Command Quick check Manual ^
> > CMD Command Quick check Manual .htm echo Written by junluck% date%
> > CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^
Ver | find "Windows XP" & & goto:joke
For / f "tokens=1*"% I in ('help ^ | more + 3') do (
Help% I > nul & & echo ^% I ^% j > > CMD Command Quick search Manual .htm | | echo ^% I% j > > CMD Command Quick search Manual .htm
> > CMD Command Quick check Manual. HTM echo ^
)
For / f% I in ('help ^ | more + 3') do (
Help I > nul & (
> > CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^% i^
> > CMD Command Quick check Manual. HTM echo ^
Help% I > > CMD command quick check manual .htm
> > CMD Command Quick check Manual. HTM echo ^
> > CMD command quick check manual .htm echo ^ return to the top of the page ^
)
)
Start CMD Command Quick check Manual. HTM.
Goto:eof
: joke
For / f "tokens=1*"% I in ('help ^ | more + 1') do (
Help% I > nul & & echo ^% I% j > > CMD Command Quick check Manual .htm | | echo ^% I ^ ^% j > CMD Command Quick check Manual .htm
> > CMD Command Quick check Manual. HTM echo ^
)
For / f% I in ('help ^ | more + 1') do (
Help% I > nul | | (
> > CMD Command Quick check Manual. HTM echo ^
> > CMD Command Quick check Manual. HTM echo ^% i^
> > CMD Command Quick check Manual. HTM echo ^
Help% I > > CMD command quick check manual .htm
> > CMD Command Quick check Manual. HTM echo ^
> > CMD command quick check manual .htm echo ^ return to the top of the page ^
)
)
Start CMD Command Quick check Manual. HTM.
Thank you for reading! This is the end of the article on "how to use batch processing to generate web page files and open them". I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it out for more people to see!