However, I have found that the RunAfter= command executes the program if I don`t put the -parameter. Is this correct ?
I have tryed also with RunAfter="program -parameter" (between quotes), but does not work neither.
Of course, there is a way to fix this with an external .bat file, but it is not too "elegant".
Any suggestions about the RunAfter= command?
I have no programs here that accept -param, so I can`t test this case exactly, but as I understand, it should work well. Does this executable program have .exe extension?
> I just tried the following combination and it worked well:
> RunAfter=NOTEPAD.EXE c:\file.txt
> I have no programs here that accept -param, so I can`t test this case exactly, but as I understand, it should work well. Does this executable program have .exe extension?
> Best regards,
> Oleg Chernavin
> MP Staff
My use of RunAfter is to send an e-mail when the project was finished, like:
RunAfter=sendmail.exe -ini -sub "VARIABLE TEXT" -body "DOWNLOAD FINISHED"
with the .EXE after "sendmail", it is working; so I think there is nothing to fix in OE.
Thank you !
> OK. But could you please tell me how exactly did you try to use that command before? Maybe I will be able to reproduce the flaw and fix it?