Alas it will still fail for the majority of users. Primarily because the majority of users are not configured for multi-user login thus it would fail even for those who do put music into their "My Music" directory.
If I recall correctly the appropriate command to read in the My Music folder from the registry would be:
musicPath$=get registry$("Software/Microsoft/Windows/Current Version/Explorer/Shell Folders","My Music")
Use backslash instead of /
Although i'm not sure exactly how DBPro determines which HKEY it is reading, maybe IanM or one of the other clever people can answer that. We need to specify "HKEY_CURRENT_USER".
I recommend against using the My Music folder if the program is for general release for the reasons already given.
Pneumatic Dryll
