Windows "known folders": is there any one of them which is reliably read/write for all users on all
Posted
by Stabledog
on Stack Overflow
See other posts from Stack Overflow
or by Stabledog
Published on 2010-04-23T00:17:43Z
Indexed on
2010/04/23
0:23 UTC
Read the original article
Hit count: 713
Windows
|file-permissions
SHGetKnownFolderPath() and its cohorts accept one of the constants defined here (http://msdn.microsoft.com/en-us/library/dd378457%28v=VS.85%29.aspx ), returning the path to a directory.
I'm looking for one of these folders which is reliably writable by all users (including LocalSystem) on XP, Vista, and Windows 7... but I think I'm striking out. It appears that, in fact, there is no single location on the hard drive anymore where you can put a file and be assured that all users can write to it on all these OS versions, without fiddling the permissions first.
Is this true?
© Stack Overflow or respective owner