How to

get working directory / location

Published: 9. October 2011 | Updated: 9. October 2011
License: Microsoft Public License (MS-PL)
Categories: Consoles, File system » Directories, Winforms
Tags: C# Console Winforms WPF
Was this snippet helpful for you? YESYES / NONO
Get Analyzant!

Check your entire website from code to content in minutes with Analyzant, the free analysis suite.

Free download at
string currentDirectory = Environment.CurrentDirectory;
Send us feedback about this snippet »

Related Snippets: