(original) (raw)

On 12/12/2012 6:10 PM, Janzert wrote:
On 12/12/2012 8:43 PM, Glenn Linderman wrote:
On 12/12/2012 5:36 PM, Brian Curtin wrote:

\>> C:\\ProgramData\\Python


^^^^^ That. Is not the path that the link below is talking
about, though.


It actually does; it is rather confusing though. :/

I agree with the below. But I have never seen a version of Windows on which c:\\ProgramData was the actual path for FOLDERID\_ProgramData. Can you reference documentation that states that it was there, for some version? This documentation speaks of:

c:\\Documents and Settings\\AllUsers\\Application Data (which I knew from XP, and I think 2000, not sure I remember NT)

In Vista.0, Vista.1, and Vista.2, I guess it is moved to C:\\users\\AllUsers\\AppData\\Roaming (typically).

Neither of those would result in C:\\ProgramData\\Python.

It's referring to KNOWNFOLDERID constant FOLDERID\_ProgramData. The actual on disk location for this has changed over windows versions. As noted below in the SO link given:

"Note that this documentation refers to the typical path as per older versions of Windows. In modern versions of Windows it is located in %SystemDrive%\\ProgramData."

>
\>
\> Making a new top-level directory without asking is obnoxious.

See
http://stackoverflow.com/questions/9518890/what-is-the-significance-programdata-in-windows