Windows Nt directory names

asdfasd asdfasdf s802645999 at yahoo.com
Sun Nov 17 02:30:39 EST 2002


hi

i wanted to execute a command somewhere in "program files" directory but can't seem to do it as it says : "c:\program" is not recognized as an internal command 

i have used :

import os

CMD = r'c:\program files\action.exe'

os.system(CMD)

how do i code so that the space in "program files" is recognized?

thanks

 



---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20021116/0c816f22/attachment.html>


More information about the Python-list mailing list