I have a Delphi application that calls ShellExecute on a .mxd file. It works fine in XP, but when trying to run on Win 7, ArcMap throws the error "Could not find file C:\users\username\My Documents\filename.mxd.mxd". I'm not passing the filename with 2 .mxd's at the end. Anyone have any ideas?
wow, shell... old school windows 7 structures program files differently as well as user folders... (x86 for starters) so USERNAME is going to be a different path... As richard states, should work, try throwing the MXD is a simple folder path to test.