Posted on: 4/10/2012 7:47:30 PM | Views : 385

I have a large existing application where I need to call a console app from a code behind page.
I know how to do the above, but what I need help with is the FileName property for the ProcessStartInfo object.
The applciation has many folders all with executables and I want to make sure I am coding the correct path to the exe I want executed.
On my local machine, the specific exe I want executed is below.
"C:\projects\ABB\Source\AbbSolutions\Source\Utilities\EmailDistributor\bin\Debug\EmailDistributor.exe"
How would I code it using server.maptpath? I'm pretty sure that something must be place between the "\" and "EmailDistributor.exe" to get to the right application.
Server.MapPath(@"\EmailDistributor.exe")      ????????
...

Go to the complete details ...