Recently, the company developed a program to start with Windows 7. After it is started, it starts to run. It is a production program.
I studied it and found that there are three ways to add a program to start with windows 7.
I am sorry because my system is windows 7 English Enterprise Edition.
1. start up
For example, the path is generally C: \ Users \ chengj \ AppData \ Roaming \ Microsoft \ Windows \ Start Menu \ Programs \ Startup
The above is my computer domain account. The user name is chengj.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S0531252-0.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
2. the development program exists as a service component model and is set to auto start.
This method is complex, and the simpler the enterprise management, the better.
In addition, you can run the msconfig command to view the list of programs running at startup. You can disable or enable a program. For example
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S053A45-1.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
3. scheduled task scheduler)
This function is provided by windows 7. Since the release of windows vista, microsoft has greatly enhanced this function and can set the startup time and trigger conditions of the program. This is the focus of this article, there are many startup methods. In the control panel, right-click "my computer" and "manage". Alternatively, you can directly enter the task scheduler in the Start Menu,
For example, if you enter the first word, the result is displayed, thanks to the brand new windows7 Index Service.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S0532191-2.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
The following describes how to create a scheduled task.
After a scheduled task is opened, as shown in the following two figures, click the interface of the task scheduler and task scheduler library. The first figure is a general list, and the second figure is a ticket for the scheduled task.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S053K28-3.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S05324a-4.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
Step 1 of the new method: Right-click the task scheduler library. You can select either the first or second menu. The first menu is the wizard mode, and the second is the standard menu, the following figure shows the first screenshot in wizard mode.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S0534621-5.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S053C46-6.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
You can select the running conditions, and I choose to start with the system.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S05311G-7.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
The next step is to choose to run the program, send an email, or display a message. Of course, we choose to start a program.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S0533220-8.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
Select the program path.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S05323G-9.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
Select the red box and click finish to display all the parameter settings for the new task.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S053CA-10.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
As shown in the following figure, I have captured the content of four tabs. Both the conditions can be changed and added.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S0532305-11.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S0531510-12.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S0532O2-13.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/1S05311I-14.jpg.thumb.jpg "border =" 0 "style =" border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; line-height: 1.6em; padding: 0px; margin: 0px; "/>
Finally, I felt that this function was very practical and powerful.
This article from the "chenghang technology blog" blog, please be sure to keep this source http://hangyc.blog.51cto.com/427521/1195281