HOWTO: Find the
-
Anyone know how I can find what the path name for "My Documents" is? For the windows and windows/system directory I can use GetWindowsdirectory etc, but what about the "My Documents" directory. Thanks for any help at all. Jerry
-
Anyone know how I can find what the path name for "My Documents" is? For the windows and windows/system directory I can use GetWindowsdirectory etc, but what about the "My Documents" directory. Thanks for any help at all. Jerry
isn't it along the lines of \profiles\\My Documents ? Stephen
-
Anyone know how I can find what the path name for "My Documents" is? For the windows and windows/system directory I can use GetWindowsdirectory etc, but what about the "My Documents" directory. Thanks for any help at all. Jerry
Call
SHGetSpecialFolderLocation()
and pass itCSIDL_PERSONAL
. If you know your target systems will always have the Active Desktop shell, you can use the easierSHGetSpecialFolderPath()
API instead. -
Call
SHGetSpecialFolderLocation()
and pass itCSIDL_PERSONAL
. If you know your target systems will always have the Active Desktop shell, you can use the easierSHGetSpecialFolderPath()
API instead.Great, thanks!