View Full Version : Detecting the Start Menu folder under Win NT/2000
cchian
04-21-2001, 07:32 PM
Does anyone know of a way to detect the Start Menu folder under NT/2000? Under Win 95/98/Me, I can use %WinDir%\Start Menu\Programs\My Program\My Program.lnk. For what I would like to do, this is the only place were I can reliably find a link to finish installation of our program.
Thanks!
Hi,
You could try reading in this registry value:
"HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Cur rentVersion\Explorer\Shell Folders\Start Menu" That registry value should contain the path of the START MENU on all WIN OS's, I would test this to make sure but I know that it works properly on WIN 2000 and WIN 98.
So simply use a READ FROM REGISTRY action to store the path in a variable, and then use that variable to access your shortcut.
mark.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.