Application execution path

  • Thread starter Thread starter pei_world
  • Start date Start date
P

pei_world

get application execution root path like "c:\\program
files\whatever\appp.exe", I want to get the root path like "c:\\program
files\whatever\"
what do I need to use in C#
 
pei_world said:
get application execution root path like "c:\\program
files\whatever\appp.exe", I want to get the root path like "c:\\program
files\whatever\"
what do I need to use in C#

In .NET, you can use Path.GetDirectoryName().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top