Questions tagged by "path"

How to determine current EXE directory for a C# console application
5 years ago • support_man
I tried to determine current running directory of my C# console application using the following code: Assembly.GetExecutingAssembly().Location However that code returns path to assembly location. It may be different from the folder where EXE file is located. My console application parses logs with no parameters. I want to know the path to the logs/ folder inside of the current executable's folder. Please help!
Tags: , ,
1 - 1 of 1 items