devxlogo

Running an EXE Using a Trigger

Running an EXE Using a Trigger

Question:
I want to run an .exe using a trigger. Is there any stored procedure for running an .exe? For example, I want to run Notepad.

Answer:
The stored procedure language has a SYSTEM command that will do what you want. Use this syntax:

system("notepad.exe");

devx-admin

Share the Post: