Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!news.osn.de!diablo2.news.osn.de!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: "Martin v. Loewis" Newsgroups: comp.lang.python Subject: Re: Python 2.7 and cmd on Windows 7 64 (files lost) Date: Fri, 24 Jun 2011 09:34:07 +0200 Organization: 1&1 Internet AG Lines: 11 Message-ID: <4E043DEF.1050502@v.loewis.de> References: <4e0302f5$0$30791$ba4acef3@reader.news.orange.fr> NNTP-Posting-Host: port-92-206-7-29.dynamic.qsc.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: online.de 1308900848 9860 92.206.7.29 (24 Jun 2011 07:34:08 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Fri, 24 Jun 2011 07:34:08 +0000 (UTC) To: Michel Claveau - MVP User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110606 Icedove/3.1.10 In-Reply-To: <4e0302f5$0$30791$ba4acef3@reader.news.orange.fr> Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8356 > Therefore, Windows has a "trick" for mark the file like visible, or not, > in 32 mode. What trick? It's called file system redirection. When you access \windows\system32 in a 32-bit process, you *actually* access \windows\syswow64, which has entirely different files. The same also happens for parts of the registry. Regards, Martin