0
votes

Is there an Environment Variable for the startup folder.

On XP it is located under C:\Documents and Settings(user)\Start Menu\Programs\Startup and on vista 7 it is under Appdata\Microsoft\Windows\Start Menu\Programs\Startup\

So I was wondering if there was an EnVar for this folder?

1
Why are you tagging this with assembly and an assembler? - user395760
Well im coding in FASM right now, that is why I need this answer, for an asm project. I just failed to mention that in the post. - Josh Line

1 Answers

1
votes

Since you create binaries, why don't you use CSIDL_STARTMENU with SHGetFolderPathA?

http://msdn.microsoft.com/en-us/library/windows/desktop/bb762181%28v=vs.85%29.aspx