0

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?

Josh Line
  • 625
  • 3
  • 13
  • 27
  • Why are you tagging this with `assembly` and an assembler? –  Oct 20 '12 at 18:23
  • 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 Oct 20 '12 at 18:25

1 Answers1

1

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

Marco van de Voort
  • 25,628
  • 5
  • 56
  • 89