Upload exe file and input the file location as a variable

how do i upload an exe file, and use the file location and save it to a text variable? i am trying to make it so you can add a shortcut to a pc app in the app im making and you can click it in the app im making and it opens that exe file. (sorry for bad english)