[Python-Dev] Draft PEP for time zone support.
Janzert
janzert at janzert.com
Thu Dec 13 08:32:53 CET 2012
More information about the Python-Dev mailing list
Thu Dec 13 08:32:53 CET 2012
- Previous message: [Python-Dev] Draft PEP for time zone support.
- Next message: [Python-Dev] Draft PEP for time zone support.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 >> 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 >>>> > > >
- Previous message: [Python-Dev] Draft PEP for time zone support.
- Next message: [Python-Dev] Draft PEP for time zone support.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list