Please help how to get the path to the EXE file of the program. The bottom line is that I need to open word files in the folder where is the EXE of my program. I run the word file through the Process.Start ("filename").
Asked
Active
Viewed 53 times
-1
-
EXE file of your running program or other running programs? – M.kazem Akhgary Mar 19 '17 at 08:40
1 Answers
0
See if this works for your requirement:
System.Reflection.Assembly.GetExecutingAssembly().Location

Sadique
- 22,572
- 7
- 65
- 91