In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
When using a computer at ordinary times, there is always something we want to start by ourselves when we turn it on, so that we don't have to click on it one by one, and it can save time. Generally speaking, we have the following ways to set boot self-boot:
1. Open the folder C:\ ProgramData\ Microsoft\ Windows\ Start Menu\ Programs\ StartUp or the folder C:\ Users\ Administrator\ AppData\ Roaming\ Microsoft\ Windows\ Start Menu\ Programs\ Startup. The default is hidden, there is no way to find it directly, you can directly copy this address to open the corresponding folder, and then drag or copy into the shortcuts to boot these shortcuts. There will be a pop-up window when you drag it in, just click "continue".
2. Modify the registry, create a new string under HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run, and enter the location of the program.
3. Find [windows] in the WIN.ini file, and add the path of the program after "load=".
4. Create a basic task in "computer Management"-"Task Scheduler", and select "when computer starts" or "when current user logs in" in the task trigger.
5. Boot with the software.
6. The sixth method, which I would like to focus on today, is to use BAT files to create boot self-startup. However, you need to use any of the first four above to trigger the BAT file. Although it is the second start, there must be a reason why I want to talk about it today.
First create a new txt text, then change the file name to the name you want to rename, and change the suffix ".txt" to ".bat". There are many ways to show the suffix on the Internet, which can be found in Baidu search. Then right-click create Shortcut and copy the shortcut to the "C:\ ProgramData\ Microsoft\ Windows\ Start Menu\ Programs\ StartUp" folder. In this way, the BAT file will be triggered at boot time or login time. Now we start writing commands on the BAT file. Right-click Edit to open the file using notepad. (the command executed by the BAT file is equivalent to the command entered on the CMD window. )
I posted some of the commands I wrote:
@ mode con cols=28 lines=3% sets the window size to: column 28, behavior 3 lines. %
@ color a0% modify window color to bright green background black word%
@ echo: in the boot program:
The contents below @ echo off% are not echoed; the previous @ is to prevent yourself from displaying%
:: the double colon indicates the comment character.
:: begin
:: =
:: 1. The software "drawing" is self-starting on the boot:
Start ""% windir%\ system32\ mspaint.exe "
::
:: 2. Boot self-booting QQ:
Start "" C:\ Program Files (x86)\ Tencent\ QQ\ Bin\ QQScLauncher.exe "
::
: 3. Boot the IE browser and display it in a maximized way:
Start/max ""% ProgramFiles%\ Internet Explorer\ iexplore.exe "
::
:: 4. Turn on to play the song "Twilight":
:: start "" F:\ usersfile\ Music\ My Music\ Zhou Chuanxiong-dusk .mp3 "
::
:: 5. Boot a folder automatically and display it in a minimized way:
Start/min "" D:\ SSD\ Quick Startup\ Boot Quick Startup Directory "
All the paths in these quotation marks can be replaced with the paths you want to open.
::
:: *
:: in order to retain the display effect, you can add the pause pause command, and delete it directly if you don't need it:
Pause
::
:: exit:
:: exit
Attach a screenshot of the boot using this method (the application in the attached commands is not necessarily opened, because the open project I set up myself is usually used by myself. The above is just to make it easier for you to understand the attached project)
At this point you should know what I mean, the reason why mentioned this method of boot self-boot is because it is powerful, add a bat file after you can make a big article in the bat file, boot what you want to enter the corresponding command in this file is not very convenient, unlike the traditional can only simply open a software, you can also set some parameters to produce the effect we want.
If you have any questions, feel free to comment or email to 965194822@qq.com.
Attachment: http://down.51cto.com/data/2366399
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.