Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How do I add program shortcuts or scripts to startup items to achieve self-startup?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How do I add program shortcuts or scripts to startup items to achieve self-startup?

©Lander Zhang focuses on on-demand IT infrastructure operation and maintenance services for foreign enterprises, and IT Helpdesk hands-on training practitioners

Blog: https://blog.51cto.com/lander

Practical training course for IT Helpdesk engineers: https://edu.51cto.com/lecturer/733218.html

Easy entry into foreign companies: the way for IT Helpdesk engineers to practice and self-study: https://blog.51cto.com/lander/2413018

Last updated: 2019-8-22

Scene description

In daily practice, we need an application or script to start or run automatically when the user logs in. For example, when OneDriver is installed and configured by default, it creates a folder locally where users can store files or folders. We specially map the OneDriver to the cost locator through scripts to make it more convenient for users.

Solution method

So how do we put this script in the startup item to run automatically after the user logs in? Here, taking Windows 10 as an example, I can just put a script that needs to be run automatically (or an application shortcut that needs to be started) into the startup item.

Operation steps

Copy the script file to the following path under the system disk:

C:\ ProgramData\ Microsoft\ Windows\ Start Menu\ Programs\ Startup

If you log out and log in again, the script starts to run during the login process of the system to map OneDriver to O disk:

Related documents

How do I map a local folder to a hard drive letter? Https://blog.51cto.com/lander/2313720

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report