Step 1: Click "Start → Run" and enter "CMD" and enter the "CMD" in the Run window, and the command prompt window will open;
Step 2: If your patch is stored in the "buding" folder stored in the root directory of the C drive, then switch the status of the current command prompt to "c: / buding>" status;
Step 3: Enter the "DIR / WIST.TXT" command at the command prompt and enter the carriage return. The command means that only the file names of all files in the "Buding" directory are extracted and saved in list. In the TXT document, the parameter "/ b" means that the header information and statistics are not displayed;
Step 4: Use Microsoft Word to open the list.txt file, then click "Edit → Find" in turn, and will open the Find and Replace window;
Step 5: Set the "Finding the content" to "^ P" in the "Find and Replace" window, then click the "Replace" tag, then set the replacement content in the "Replace to" Input box " / U / q / z ^ PStart / Wait ", pay attention to there in a space after Wait (Figure 1);
Step 6: Click "All Replace", at this time, the content of the World document will become as shown in Figure 2, and then we also need to modify the contents shown in Figure 3 as shown in Figure 3.
Description: "START" is the DOS command comes with the Windows system. It is used to call the application; "/ wait" means enable the application and wait for it, then execute the next application; parameter "/ u "Represents the use of unattended patterns, parameter" / q "means no user interaction, parameter" / z "indicates that the computer does not restart when the installation is complete.
Finally, the patch icon is similar to the icon shown in FIG. 4, otherwise it will be wrong! For example, in the last second line of Figure 3, there is no parameter "/ z".
Step 7: Save the content shown in Figure 3, and then change the extension of the "list.txt" file to "BAT" to make a batch program for installing the patch.
Run "list.bat" can automatically install the patches in unattended.
This article is over, how do you feel after you have seen it, is it a bit speculative? Oh, I hope this article can bring you a little revelation!
Figure 1 Enter the replacement content
Figure 2 Replace the text content
Figure 3 Last text content
Figure 4 Sample icon