How to call and .exe file using a procedure in clarion

I need to call a procedure for comparing a file when i click the option from menu…i developed file compare .exe which i need to call when i click compare files from menu list…can anyone help me with this.

run() ? …

Or use the Power Run template with lots of options:

I use either RUN() or ShellExecute API for calling other executables. Unless your situation is more complex, RUN should do it and it will let you capture the return value of your compare.exe if you are setting an errorlevel on exit.

1 Like