OK I am a little confused, I have the following
shell = win32com.client.Dispatch('WScript.Shell')
print os.path.isfile(self.exe)
print self.exe
shell.Run(self.exe)
The file self.exe exists, I get a 'true' from os.path.isfile, I can
execute it on the command line AOK, its path is as I would
Do you need to quote the value sent to shell.run() since there is a
space in it?
shell.Run('C:\Documents and
Settings\dave\Desktop\MyMobile\MyMobiler\MyMobiler.exe')
?
-
Randy Syring
Development Executive Director
Level 12 Technologies
Randy Syring wrote:
Do you need to quote the value sent to shell.run() since there is a
space in it?
shell.Run('C:\Documents and
Settings\dave\Desktop\MyMobile\MyMobiler\MyMobiler.exe')
Right. More than that, he needs to escape the backslashes or use a raw
string, as in: