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().
 
Back
Top