Answers for "c# get script directory"

C#
6

c# get script directory

System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
Posted by: Guest on August-17-2020
2

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
0

c# get script directory

string appPath = System.IO.Path.GetDirectoryName(Application.ExecutablePath);
Posted by: Guest on September-20-2020

Code answers related to "c# get script directory"

C# Answers by Framework

Browse Popular Code Answers by Language