Automatically start the application after Windows XP is started

Source: Internet
Author: User

========================================================== ==================================

Title: automatically start the application at wince startup

Abstract:

Note: Windows CE 5.0

Date: 2010.5.17

Name: Zhu minglei

========================================================== ==================================

(1)Modify the registry. For example:

[HKEY_LOCAL_MACHINE/init]

"Launch50" = "assumer.exe"

"Depend50" = hex: 14,00, 1e, 00

The producer must be started after the application is started in the order of "Launch20" (hexadecimal 14 is decimal 20) and "Launch30" (hexadecimal 1e is decimal 30.

In this way, it is easy to automatically start our own applications at startup. For example:

[HKEY_LOCAL_MACHINE/Init]

"Launch80" = "XXX.exe"

"Depend80" = hex: 14,00, 1e, 00

(2)You can also use the following method. Create a shortcut, such as Autorun. lnk. The text content is as follows:

20 #/windows/Autorun.exe

20 is the number of characters after.

Add Autorun. lnk to NK, for example:

Autorun. lnk $ (_ FLATRELEASEDIR)/Autorun. lnk NK S

Place Autorun. lnk in the Startup folder, for example:

Directory ("/Windows/Startup"):-File ("Autorun. lnk", "/Windows/Autorun. lnk ")

In this example, autorun.exe can be automatically started.

Do not forget to add the application to be started to NK in the preceding two methods, for example:

XXX.exe $ (_ FLATRELEASEDIR)/XXX.exe NK S

(3)Although the above two methods are relatively simple and convenient, when you want to replace the application to be automatically started,

You also need to re-Customize NK, which is a little troublesome. To make it easier to change the "automatically started application" in the future, you can do so through the following methods. First, write an application, search for it in the application, and start yyy.exe under the xxxfolder in flash. Then, the application can be automatically started through one of the above two methods. After that, you just need to put the automatically started application program under the xxxfile in flash and change the name to yyy.exe. This is also a frequently used method.

Related Article

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.