Find list of special folders in Windows using Qt
Is it possible to get a list of the Special Folders in Windows 7 using Qt 4.7.4
I need to know in which directory the Operating System is installed and which folders I have write- access to.
Special Folders will include folders like 'Desktop', 'Program Data', etc....
These folders may or may not be hidden.
I appreciate your time and response.
Thank you in advance.
For the Windows folder I either would use qgetenv("WINDIR") or native GetWindowsDirectory().
Use QFile or QFileInfo to determine if the directory is writable or not.