I have two exe files in the same folder, I can run exe2 from a button in exe1. Today I was observing a customer over a remote (terminal services) session and exe2 failed to run 'File not found' error, yet exe1 was in the same directory when we checked. So should I be using AppDomain.CurrentDomain.BaseDirectory or System.Environment.CurrentDirectory?
Thanks
string.GetFullPath(path)
usesEnvironment.CurrentDirectory
rather thanCurrentDomain.BaseDirectory
, to my surprise. – Agglutinogen