i want ro run an exe when clicking on link button ,
i acheved this but how to give the relative path in c#.net
waiting for reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dhirendra MisraPosted Dec 29, 2013, 10:48 PM
As Process.Start(path) needs full path, I think you can make use of Directory.GetCurrentDirectory() to determine the current path of the your executing assembly and combine your target filename to get it invoked.
.................
Hope it may be helpful to you.