[Python-Dev] os.path.normcase rationale? (original) (raw)
Paul Moore p.f.moore at gmail.com
Sun Sep 26 15:06:38 CEST 2010
- Previous message: [Python-Dev] os.path.normcase rationale?
- Next message: [Python-Dev] os.path.normcase rationale?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 26 September 2010 13:37, James Y Knight <foom at fuhm.net> wrote:
Were you thinking of SHGetFileInfo? http://stackoverflow.com/questions/74451/getting-actual-file-name-with-proper-casing-on-windows
It wasn't, but it looks possible. Only gives the last component, though, so you still have to walk up the path components :-(
I suspect I was thinking of GetLongFileName, which puts everything but the last component into the right case. I missed the problem with the last component :-(
Paul.
- Previous message: [Python-Dev] os.path.normcase rationale?
- Next message: [Python-Dev] os.path.normcase rationale?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]