Windows XP Specifies the sequence of startup items

Source: Internet
Author: User

In some cases you need to specify the order of your own startup items, such as starting a network connection before starting some items. Is there a way to specify the order of your own startup items?

Let me explain how to specify the order of the starting items.

1. Create a new folder, such as: C:\Ordered Launch, and then cut all the shortcuts under the start | All Programs | Startup folder into this folder, and then put the shortcuts to the items you want to start from.

2. Enter "CMD" Inside "Run", open console mode, then switch the current directory to "C:\Ordered Launch". After you switch the directory, enter the command "dir/b/S > Ordered.bat". Then in the input command "notepad ordered.bat", open this just built batch file, you can in the open Notepad, the starting items in the order you want to arrange. Note that each item needs to be enclosed in quotes and started with "start", for example: Start "C: \ordered launch\first program.lnk".

3. Double-click the batch file to test and the startup items will be started in the order in which they are scheduled. But if one of these projects takes more time to initialize, then the order of the boot can be messed up. But don't worry, in this case, you can add a delay code under those startup slow items, such as "Ping-n 5 127.0.0.1 > nul", this command can provide 5 seconds delay time, by changing the number after "-N", you can get different delay time.

4. After testing the batch file, open the "start | All Programs | startup" folder, and then press and hold the right button to drag the batch file into the "start | All Programs | startup" folder and choose "Create Shortcut" from the pop-up menu.

You'll be able to enjoy your masterpiece the next time you turn it on.

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.