Anybody know how to get the location of a user's start menu folder and desktop folder? Once again I'm looking for them for the installer creator im writing. Thanks!
Start Menu and Desktop Location
BlitzPlus Forums/BlitzPlus Programming/Start Menu and Desktop Location Look up the getenv command, if you need more, type set into command prompt and find the right one.
I typed set in command prompt but still am not having luck. Ideas?
You can also view them by going to System->Advanced->Environment Variables (in XP at least).
Try getting the one for user and then adding \desktop or \startmenu
Try getting the one for user and then adding \desktop or \startmenu
This probably won't work on any non-English version of windows (which would be +/- half the windows installations out there?)
You have to read the registry (in code, don't know how in BB soz). Look for the following path
and then read the Desktop or Start Menu keys for the full path. Then you can create shortcuts in them (with more code).
Software\MicroSoft\Windows\CurrentVersion\Explorer\Shell Folders
and then read the Desktop or Start Menu keys for the full path. Then you can create shortcuts in them (with more code).