Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get working directory c#

var DDIR = System.IO.Directory.GetCurrentDirectory();
var WorkingDirectory = "";
int index = DDIR.IndexOf(@"");
if (index > 0)
	WorkingDirectory = DDIR.Substring(0, index) + @"";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #working #directory
ADD COMMENT
Topic
Name
4+7 =