Quote:
Originally Posted by RbnJrg
No it isn't. But the .bat file is in the same folder of MyProgram.exe (with a different name of the .exe file).
|
Doesn't really matter with the way the detached process is launched by Qt. You're better off supplying the full path to your exe in your batch file.
Quote:
But now I'm suspecting it can be a bug. I made a .bat file with the following line:
c:\windows\notepad.exe %1
The path wouldn't be neccesary because notepad.exe is in the Windows folder, but even so, I wrote the path to notepad in the .bat. Well, after selecting with "Open with..." that .bat file, the .xhtml didn't open inside Notepad (nothing happened). But, if instead of using the .bat, I open the .xhtml file directly with Notepad (throught Open with), the file is open without issue.
|
It can't be Sigil bug, because I'm able to do exactly what you want to do with a batch file on Windows. In fact your exact example:
c:\windows\notepad.exe %1
in a batch file works to open xhtml files from Book Browser in notepad on my Windows machine.