WinXP: Specify the order of the startup project

  

In some cases you need to specify the order of the self-starting project, for example, before starting some projects, you need to start the network connection program. Is there a way to specify the order of the self-starting project?

Describes how to specify the order of the self-starting project.

1. Create a new folder, for example: C:Ordered Launch, then put "Start | All programs| All shortcuts under the "Startup" folder are cut into this folder, and then the shortcuts of the project you wish to start from are also placed in this folder.

2. In "Run" Enter "Cmd", open the console mode, and then switch the current directory to "C:Ordered Launch". After switching the directory, enter the command "DIR /B /S > ordered.bat". Then enter the command "notepad ordered" .bat", open the newly created batch file, you can arrange the self-starting project into the order you want in the open notepad. It should be noted that each project needs to be enclosed in quotation marks and use " Start", for example: start "C: Ordered LaunchFirst Program.lnk".

3. Double-click the batch file to test. These self-starting projects will start in the scheduled order. But if one of them Projects take more time to initialize, so the order of self-starting can be messed up. But don't worry, in this case, you can run under slow startup projects. Add a delay code, for example: "ping -n 5 127.0.0.1 > nul". This command can provide a delay time of 5 seconds. By changing the number after "-n", you can get different delay times. Br>

4. After testing the batch file, open "Start | All programs| Start the folder, then press and hold the right button to drag this batch file into "Start | All programs| In the "Startup" folder, select "Create Shortcut" from the pop-up menu.

You're done, you can enjoy your own masterpiece the next time you turn it on.

Copyright © Windows knowledge All Rights Reserved