Need help dealing with spaces in NT paths.

Fredrik Lundh fredrik at pythonware.com
Wed Nov 17 08:00:03 EST 1999


> >>> os.system('dir "program files"')
> 
>  Volume in drive C is CDRIVE
>  Volume Serial Number is 2E50-0FE9
>  Directory of C:\WINDOWS

are you sure you have a "program files" directory in
your "windows" directory?  it's usually placed under
the root directory...

</F>





More information about the Python-list mailing list