Subj : Re: How to add programs to Windows Start menu To : borland.public.cpp.borlandcpp From : "Michael" Date : Wed Oct 01 2003 09:22 am Thank you very much for this information! It was very much what I was looking for. Best regards Michael "Benjamin Pratt" wrote in message news:3f79cac4@newsgroups.borland.com... > The directory names are stored in the registry. For the current user, the > directories for the Start Menu, Programs, and Startup are stored at: > > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User > Shell Folders\Start Menu > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User > Shell Folders\Programs > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User > Shell Folders\Startup > > Since these entries are of type REG_EXPAND_SZ, remember to call > ExpandEnviromentStrings before using the values. > > If you need to modify the "AllUsers" start menu, those paths can be found at > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User > Shell Folders\Common Start Menu > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User > Shell Folders\Common Programs > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User > Shell Folders\Common Startup > > Once you have the path, you will need to create a shortcut to your > executable in that path. The IShellLink and IPersistFile interfaces are used > for this. If you can't or don't want to use COM, you can simply create a > batch file in the start menu. > > .