ryan wrote: > os.system('C:\\"foo bar"\\some.exe <file://%5C%5Csome.exe> %s' % filename) I think you need to place the double quotes around the full path (I prepended the string with an 'r' so the backslashes don't have to be escaped): os.system(r'"c:\foo bar\some.exe" %s' % filename) should work afaik. Cheers, Guido