ExeSessionProcess.GetExecutablePath() doesn't search in 'Program Files (x86)' directory
Hi
ExeSessionProcess.GetExecutablePath() doesn't search in 'Program Files (x86)' directory
Possible fix: https://github.com/mirror/winscp/pull/1/commits/0996f04cda7ca0d90febce16e0f3da986709d820
Also you can add search in %PATH% variable:
Thanks,
tattdogg
ExeSessionProcess.GetExecutablePath() doesn't search in 'Program Files (x86)' directory
Possible fix: https://github.com/mirror/winscp/pull/1/commits/0996f04cda7ca0d90febce16e0f3da986709d820
Also you can add search in %PATH% variable:
Environment.GetEnvironmentVariable("PATH")?.Split(';').SingleOrDefault(x => x.EndsWith("\\WinSCP\\"));
Thanks,
tattdogg