How to use batch bat to realize automatic installation of Software
This article will explain in detail how to use batch bat to achieve automatic installation of software, Xiaobian thinks it is quite practical, so share it for everyone to make a reference, I hope you can gain something after reading this article.
Objective:
Automatic Installation of Sogou Pinyin by Batch Processing
Experimental procedure:
1. Download Sogou Pinyin installation package, this experiment uses sogou_pinyin_50a.exe.
2. Create a new batch file sogou_install.bat. in the directory where the installation package is located.
3. Edit the batch file sogou_install.bat, enter the following command and save it.
[plain]
start /wait .\ sogou_pinyin_50a.exe /S
4. Double click the batch file to execute it.
5. If you execute this batch file as an administrator, you may be prompted with "File XXX not found." In this case, you can modify the batch file slightly.
[plain]
cd installation file path
start /wait .\ sogou_pinyin_50a.exe /S
6. After batch processing, the software is installed automatically.
Experimental Summary:
1. The fully automated installation method for other software is similar to that demonstrated in this lab.
2. All kinds of software automatic installation commands are not necessarily the same, most of the software installation commands can be found on the Internet.
3. Under win7 system, when executing the installation software, it may prompt "whether to allow changes to the computer", which has certain influence on batch automatic installation software. At this point: You can use the administrator to execute batch files. You can also set it in Control Panel-Operations Center-Change User Account Control Settings.
About "how to use batch bat to achieve automatic installation of software" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.