Install and uninstall ASP components using BAT batch _dos/bat

Source: Internet
Author: User

Some of the components that we usually use when using ASP for network programming, because the components allow us to do complex operations easily, but the ASP defaults to not integrate all the components, so we need to install them when we need to use a component. Today is the way to install and uninstall ASP components through batch processing.

Suppose we want to install a component with the name Htmer.dll, first copy it to a location on the hard disk, and remember the path.

1, install the component method: Copy the following code into Notepad, and save as a. bat file, double-click to run the component installation.

Copy Code code as follows:
Iisreset/stop
Regsvr32 Component Path \htmer.dll
Iisreset/start

2, uninstall the component method: Copy the following code into Notepad, and save as a. bat file, double-click to run the component installation.

Copy Code code as follows:
Iisreset/stop
regsvr32/u Component Path \htmer.dlll
Iisreset/start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.