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


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"??.

Thanks, Varun


Answers:


SHGetKnownFolderPath:

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

And, FOLDERID_CommonStartup:

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

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