[Tutor] Os.system on winXP system having trouble with spaces in directory names

Morten Liebach m at mongers.org
Fri Jul 16 20:36:22 CEST 2004


On 2004-07-13 14:31:29 -0400, Barrett Smith wrote:
> I'm having trouble with a using os.system on a windowsXP machine.  
> 
> Running:
> os.system('start C:\\Documents and Settings\\Smith_B2\\Desktop\\page.html')

Try quoting:
    os.system('start "C:\\Documents and Settings\\Smith_B2\\Desktop\\page.html"')

Hope this helps
                                 Morten

-- 
http://m.mongers.org/ -- http://gallery.zentience.org/
__END__


More information about the Tutor mailing list