to run a dos command when hitting a buttom us the code.

Code:
shell "the command here"





› See More: Run a DOS command!