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 dos uses wget.exe to make antivirus software upgrade more automatic

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

Share

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

This article mainly introduces how dos uses wget.exe to make antivirus software upgrades more automated. It is very detailed and has certain reference value. Interested friends must finish reading it.

First of all, I would like to thank the xhj moderator for providing the vast number of users with the CD-ROM and USB disk collection of antivirus software, and for providing the upgrade method of antivirus software. When using the upgrade of antivirus software, hxj uses the command line method of windows to provide the upgrade, the command is as follows: IEXPLORE http://..., to use this command, you need to specify the download location, which is very uncomfortable (this winrar is also the same), is there any other way, as long as the user click to upgrade automatically? Actually, it can be done.

Wget is a free tool for automatically downloading files from the network under linux. It supports HTTP,HTTPS and FTP protocols, can use HTTP agents, and has been ported to WINDOWS. It provides "download files unless newer than local files" when the update download, download continuation, download file directory save and other functions, more functional see attachment.

Following hxj's dos antivirus shutdown as an example, modify the batch process for automatic upgrade:

1: copy the WGET.exe in the download attachment to the system directory. Generally, C:\ WINDOWS,upd.bat is modified as follows:

Echo off

Wget-nH-N-c http://dos.cf91.com/update/update.exe

IF not exist update.exe echo Can not update now & & pause & & GOTO end

Update.exe-s

Exit

: end

Note:-nH means not creating a directory and downloading it to the current directory;-N means not downloading the same file;-c means continuing to download.

Also do something more beautiful, hide the DOS window, and use the HIDECMD command.

These are all the contents of this article entitled "how dos uses wget.exe to make antivirus software upgrades more automated". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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: 205

*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