startfile problems

Timothy Smith timothy at open-networks.net
Tue Aug 2 01:10:23 EDT 2005


hello i have a very odd issue with os.startfile()

ok basicly my app works perfectly on every single other pc todate. i 
cannot recreate this issue on any system. so i've already ruled out any 
obvious coding issues, such as wrong file names etc. this issue only 
occurs on this one old pc.

upon trying to os.startfile() a pdf document (that i create) i get the 
error - Windows error [erro2]"System cannot find the specified file"
however when i go in to the program directory, the file is there, and i 
can open it. i have ruled out the following:
the pdf viewer is working.
the path and file name are correct
the path and file name do not contain any spaces and what not.

it's a windows xp system and i'm using python 2.3

i'm very curious as to what everyone thinks



More information about the Python-list mailing list