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


Groups > comp.lang.python > #8270

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

From "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid>
Newsgroups comp.lang.python
Subject Python 2.7 and cmd on Windows 7 64 (files lost)
Date 2011-06-23 08:33 +0200
Message-ID <4e02de32$0$30749$ba4acef3@reader.news.orange.fr> (permalink)
Organization les newsgroups par Orange

Show all headers | View raw


Hi!

(sorry for my bad english...)

On Win 7 64 bits:
  Command-Line
  CD \Python27
  dir C:\Windows\System32\SoundRecorder.exe    :==> OK
  Python.exe

>>> import os
>>> os.system("dir C:\\Windows\\System32\\SoundRecorder.exe")  

==> Do not found the file !!!

and os.system("cmd /k")  then  "dir C:\Windows\System32\SoundRecorder.exe"  do not found
anyway.

But:
  {Ctrl-Z} in Python
  then  dir C:\Windows\System32\SoundRecorder.exe  run OK

Therefore, is the problem only in Python? 


@+
-- 
Michel Claveau 

  

Back to comp.lang.python | Previous | NextNext 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