[Python-Dev] Draft PEP for time zone support.
Glenn Linderman
v+python at g.nevcal.com
Thu Dec 13 09:38:01 CET 2012
On 12/12/2012 11:32 PM, Janzert wrote:
> On 12/13/2012 1:39 AM, Glenn Linderman wrote:
>> 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.
>>
>
> The SO answer links to the KNOWNFOLDERID docs; the relevant entry
> specifically is at
>
> http://msdn.microsoft.com/en-us/library/windows/desktop/dd378457.aspx#FOLDERID_ProgramData
>
>
> which gives the default path as,
>
> %ALLUSERSPROFILE% (%ProgramData%, %SystemDrive%\ProgramData)
>
> checking on my local windows 7 install gives:
>
> C:\>echo %ALLUSERSPROFILE%
> C:\ProgramData
>
> C:\>echo %ProgramData%
> C:\ProgramData
Interesting. It _did_ say something about data that is not specific to
a user... and yet I overlooked that.
Those environment variable settings are, indeed, on my Win 7 machine, so
I have erred and apologize.
That said, the directory C:\ProgramData does NOT exist on my Win 7
machine, so it appears that VERY LITTLE software actually uses that
setting. (I have nearly a hundred free and commercial packages installed
on this machine. Not that 100 is a large percentage of the available
software for Windows, but if the use was common, 100 packages would be
likely to contain one that used it, eh?).
Thanks for the education, especially because you had to beat it into my
skull!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121213/437292d5/attachment.html>
More information about the Python-Dev
mailing list