Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8285

Re: Python 2.7 and cmd on Windows 7 64 (files lost)

From "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid>
Newsgroups comp.lang.python
References <MPG.286d0a327002d85198981e@news.individual.de>
Subject Re: Python 2.7 and cmd on Windows 7 64 (files lost)
Date 2011-06-23 11:10 +0200
Message-ID <4e0302f5$0$30791$ba4acef3@reader.news.orange.fr> (permalink)
Organization les newsgroups par Orange

Show all headers | View raw


Re !

> This is because 32-bit processes (Python, 32-bit cmd) cannot see the 
> 64-bit DLLs in System32.

Thanks. 
You are right... but it is not enought.

This command:  echo %PROCESSOR_ARCHITECTURE%
give the statut:
   32:  x86
   64:  AMD64

and  DIR C:\Windows\System32\SoundRecorder.exe  is OK in 64, not in 32.



But if, in 64 mode, I copy SoundRecorder.exe to sr.exe, then I rename
sr.exe to sr.txt, the file (which is not an executable) is not visible 
in 32 mode.
And, if I move (or copy) sr.txt in an USB-drive, the file become visible 
in 32 mode !!!???

Therefore, Windows has a "trick" for mark the file like visible, or not,
in 32 mode. What trick?


OK, it is not a Python problem. 
Then... thanks again for your explanations.


@-salutations
-- 
Michel Claveau 







Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python 2.7 and cmd on Windows 7 64  (files lost) "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid> - 2011-06-23 08:33 +0200
  Re: Python 2.7 and cmd on Windows 7 64  (files lost) Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-06-23 09:31 +0200
    Re: Python 2.7 and cmd on Windows 7 64  (files lost) "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid> - 2011-06-23 11:10 +0200
      Re: Python 2.7 and cmd on Windows 7 64  (files lost) "Martin v. Loewis" <martin@v.loewis.de> - 2011-06-24 09:34 +0200
  Re: Python 2.7 and cmd on Windows 7 64  (files lost) Tim Golden <mail@timgolden.me.uk> - 2011-06-23 08:31 +0100
    Re: Python 2.7 and cmd on Windows 7 64  (files lost) Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-06-23 10:08 +0200
      Re: Python 2.7 and cmd on Windows 7 64  (files lost) Tim Golden <mail@timgolden.me.uk> - 2011-06-23 09:14 +0100

csiph-web