Run file from application directory
Can u help me in how i can run a file from the directory where the exe is located?
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.
Ryan AlfordPosted Sep 17, 2008, 8:43 AM
Posted Sep 19, 2008, 1:43 PM
using System.IO;
using System.Reflection;
to your code file.
HartoPosted Sep 19, 2008, 12:59 PM
Error 1 The name 'Path' does not exist in the current context
Error 2 The name 'Assembly' does not exist in the current context