Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use batch to generate a web page file and open it

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report