简体   繁体   English

在加载C ++的Windows上运行程序的功能

[英]Function to run the program on windows loading c++

I was wondering how to make a program that will load everytime the users logs in their windows session. 我想知道如何制作一个程序,该程序将在用户每次登录Windows会话时加载。 So when they enter windows the program is up and running. 因此,当他们进入Windows时,程序已启动并正在运行。 If possible without admin rights needed. 如果可能,不需要管理员权限。

So what i need is a function inside my code that will make a copy of the .exe file to the start-up menu and check if there isnt the file already 所以我需要的是代码中的一个函数,该函数会将.exe文件复制到启动菜单中,并检查是否已存在该文件

This is not a programming problem. 这不是编程问题。 You can write any app you want and add it to the startup folder. 您可以编写所需的任何应用程序并将其添加到启动文件夹。 ( http://www.howtogeek.com/208224/how-to-add-programs-files-and-folders-to-system-startup-in-windows-8.1/ ) http://www.howtogeek.com/208224/how-to-add-programs-files-and-folders-to-system-startup-in-windows-8.1/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM