windows 2008 server 中启动文件夹的路径是什么

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11239381/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 09:38:28  来源:igfitidea点击:

What is the path for the startup folder in windows 2008 server

windows

提问by Varun

Is there a folder to keep programs to run while doing starting of the system. As like this "C:\Users\All Users\Microsoft\Windows\Start Menu\Programs\Startup"??.

是否有一个文件夹可以让程序在启动系统时运行。就像这样“C:\Users\All Users\Microsoft\Windows\Start Menu\Programs\Startup”??。

Thanks, Varun

谢谢,瓦伦

回答by Roland

In Server 2008 the startup folder for individual users is here:

在 Server 2008 中,个人用户的启动文件夹在这里:

C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

For All Users it's here:

对于所有用户,它在这里:

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

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

Hope that helps

希望有帮助

回答by Damien_The_Unbeliever

SHGetKnownFolderPath:

SHGetKnownFolderPath

Retrieves the full path of a known folder identified by the folder's KNOWNFOLDERID.

检索由文件夹的KNOWNFOLDERID.

And, FOLDERID_CommonStartup:

并且,FOLDERID_CommonStartup

Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\StartUp

默认路径 %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\StartUp

There are also managed equivalents, but you haven't told us what you're programming in.

也有托管等价物,但你没有告诉我们你在编程什么。

回答by Protector one

You can easily reach them by using the Run window and entering:

您可以通过使用“运行”窗口并输入:

shell:startup

shell:startup

and

shell:common startup

shell:common startup

Source.

来源