代码改变世界

How to run a batch file each time the computer loads Windows

2021-09-11 10:48  jetwill  阅读(13)  评论(0编辑  收藏  举报

https://www.computerhope.com/issues/ch000322.htm#:~:text=Press Start%2C type Run%2C and press Enter. In,folder. Create a shortcut to the batch file.

Run a batch file at loading of Windows 8 and 10

Create a shortcut to the batch file.
How to create a Windows shortcut.
Once the shortcut is created, right-click the shortcut file and select Cut.
Press Start, type Run, and press Enter.
In the Run window, type shell:startup to open the Startup folder.
Once the Startup folder is opened, click the Home tab at the top of the folder. Then, select Paste to paste the shortcut file into the Startup folder.

Run a batch file at loading of Windows 98, XP, NT, 2000, Vista, and 7

Create a shortcut to the batch file.
How to create a Windows shortcut.
Once the shortcut is created, right-click the shortcut file and select Cut.
Click Start, then Programs or All Programs. Find the Startup folder and right-click that folder, then select Open.
Once the Startup folder is opened, click Edit in the menu bar, then Paste to paste the shortcut file into the Startup folder. If you do not see the menu bar, press the Alt to make the menu bar visible.
Any shortcuts in the Startup folder automatically run each time the user logs in to Windows.