Yes, you can do that. Follow the below instructions to set that up on your Quick Keys, Tablet button, or a button on your pen.
Before you start this process, it would be helpful for you to use File Explorer to locate the .exe file first so you know where it is located. You will need to browse it in just a minute.
|You can set this on a button on your Quick Keys, your Tablet, or your pen.|
In this example, I'm setting it up on button 8 on my Quick Keys.
 Select the button you are wanting to use. I selected button 8.
 I then selected Application from the drop-down menu.
 And then select Open/Run
 Select Browse to locate the .exe you are wanting to have opened. In this case, I'm adding CMD.exe.
The challenging part will be to find the .exe you are wanting to run.
 This shows the Path I used to locate CMD.exe
 Once you find it, select it.
 And it was placed in the File name field.
 Then you can click OK
 You can see it as being added to button #8, and on the Quick Keys, you will see it displayed as cmd.
 This is what it looks like on your Quick Keys.
You can use this process to set up any .exe on your computer, as long as you can find the command line exe.