program files dir with with Windows 7 using .net
Posted on 2012-03-28
I'm testing some of my software to make sure it works with Windows 7. My current software uses a command like:
Process.Start("C:\Program Files\myapp\myapp.exe", "test", pwd, "mydomain")
I can I code this to work with both XP and Windows 7. Currently it fails on Windows 7 because it's looking in the x86 folder.