Stackoverflow - RDardelet dedi:
The php exec($cmd) function will execute your command as if it's directly put in a terminal on the server. That means you should be able to simply have
exec('START C:\xampp\htdocs\myy\Filename.exe');
And it should work. If it still doesn't work, you can always create a batch file which contains a call to that application like
START C:\xampp\htdocs\myy\Filename.exe
On most windows systems, the START will represent the opening of a new instance of the default command prompt to run the command, it could be optional as well.