[Solved] How to set path of a text file created by an visual studio 2010 application?
[ad_1] The folder where the executable resides is: string executableLocation = System.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly().Location); And so you want to save your file to: System.IO.Path.Combine(executableLocation, “myfile.txt”); 3 [ad_2] solved How to set path of a text file created by an visual studio 2010 application?