HeadJ.E.M.
HeadJ.E.M.

Reputation: 101

C# how to get access to folders created in your solution explorer

How do you call or use these files you created in your solution explorer

the code that I am using at the moment is:

  System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo()
        { 

            FileName = path + "\\Console\\Hallo\\SWIR\\Dump.exe",//Path is a string that is my current path this is my exe's launch piont
            UseShellExecute = true,
            Verb ="open"
        });

I'm am trying to use them from my solution explorer any help will be appreciated

Upvotes: 0

Views: 1843

Answers (1)

Yuval Itzchakov
Yuval Itzchakov

Reputation: 149628

If you want to get the location of your current executing assembly, I suggest you use AppDomain.CurrentDomain.BaseDirectory

Best way to get application folder path

Upvotes: 1

Related Questions