Issue 13931: os.path.exists inconsistent between 32 bit and 64 bit (original) (raw)

Issue13931

Created on 2012-02-03 15:44 by zxw, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg152524 - (view) Author: zxw (zxw) Date: 2012-02-03 15:44
When I run the following line while the 32 bit version of python is installed it returns false, however with the 64 bit version it correctly returns true. os.path.exists('C:\\Windows\\System32\\msg.exe') I'm using Python 2.7.2 with Windows 7 Professional 64bit.
msg152527 - (view) Author: Tim Golden (tim.golden) * (Python committer) Date: 2012-02-03 15:53
This is the Windows x64 file system redirector at work. I can't get through to msdn at the moment to get a link, but Google for those terms.
msg152542 - (view) Author: zxw (zxw) Date: 2012-02-03 17:03
Ok, thanks, that fixed it. I'll probably post some example code for anyone else who stumbles across this with the same problem, don't have the time right now however.
msg152733 - (view) Author: zxw (zxw) Date: 2012-02-06 12:46
I've posted the code to http://code.activestate.com/recipes/578035-disable-file-system-redirector/
History
Date User Action Args
2022-04-11 14:57:26 admin set github: 58139
2012-02-06 12:46:57 zxw set messages: +
2012-02-03 17:09:01 brian.curtin set resolution: not a bugstage: resolved
2012-02-03 17:03:09 zxw set status: open -> closedmessages: +
2012-02-03 15:53:50 tim.golden set nosy: + tim.goldenmessages: +
2012-02-03 15:44:56 zxw create