>>Hi everybody,
>>
>>What is the best way to run an external executable, which could be anywhere on user's drive or not where at all (in such case we would need to show an error message)? E.g. if I don't know the exact path to this program, what should I do?
>>
>>Thanks in advance.
>
>Would the RUN command work?
No, because it doesn't know where the exe is. I need to find in run-time where is my external exe. E.g. my colleague put
#DEFINE cTextToPDFExe ["C:\Program Files\AdultPDF\Text To PDF\TxtToPDF.exe"]
but I installed this program in the different folder and now his program is giving me error...
If it's not broken, fix it until it is.
My Blog