Answers for "c# get working directory of exe"

C#
1

get working directory c#

var DDIR = System.IO.Directory.GetCurrentDirectory();
var WorkingDirectory = "";
int index = DDIR.IndexOf(@"\");
if (index > 0)
	WorkingDirectory = DDIR.Substring(0, index) + @"\";
Posted by: Guest on September-15-2020

Code answers related to "c# get working directory of exe"

C# Answers by Framework

Browse Popular Code Answers by Language