Getting the application startup path in a console app

  • Thread starter Thread starter Guest
  • Start date Start date
Scafe said:
hi, how can i get the startup path of a console application?
thanks for any help

System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssem
bly().GetName().CodeBase)

Yves
 
Back
Top