Re: win32process.CreateProcess: '%1 is not a valid Win32 application.'
Dennis Lee Bieber <[email protected]>
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Organization | IISS Elusive Unicorn |
| Message-ID | <[email protected]> |
On Tue, 8 Dec 2020 16:53:09 +0200, Niko Pasanen <[email protected]> declaimed the following: >*Question:* Is this somehow known behaviour or related to some bug in >pywin32? How could I debug to find out what is the problem? As said, the >debugging is difficult and must be done in well organized manner, since >there are no problems on my computer, and I have to make appointments for >testing anything. > Off-hand, what do you get for: C:\Users\Wulfraed>assoc .exe .exe=exefile C:\Users\Wulfraed>ftype exefile exefile="%1" %* C:\Users\Wulfraed> Any message with a %1 in it is referring to a placeholder parameter. Note the surrounding double quotes above. If the ftype does not have the quotes, any path provided that has internal whitespace may not parse correctly. -- Wulfraed Dennis Lee Bieber AF6VN [email protected] http://wlfraed.microdiversity.freeddns.org/