The Linux Page

What the hell is that My Documents stuff about?!

Look at the SHGetSpecialFolderPath()1 function! You can actually use names such as "My Documents" and transform them a valid path as you would expect (i.e. C:\Settings & Stuff\username\My Docs\...).

And yes! If you have no clue about that function, that's not going to be easy to find it...

Note that there has been talks about creating such functions under Linux. There are some but so far I have not seen too many people using them. So I do not even remember their names. 8-)

  • 1. The SH stands for Shell. The explorer windows are considered shells under MS-Windows. Nothing to do with a real good Unix shell, of course.