>I am using the following to locate the lotus notes executable "notes.exe".
>
>
IF FILE('c:\notes\notes.exe');
>OR FILE('c:\lotus\notes\notes.exe');
>OR FILE('c:\program files\lotus\notes\notes.exe');
>OR FILE('c:\program files\ibm\lotus\notes\notes.exe');
>OR FILE('c:\program files\ibm\lotus\notes\notes.exe');
>
>The code has worked perfectly until we deployed some Win7 PCs. So I added the location of the exe on the Win7 boxes:
>
>
OR FILE('c:\Program Files (x86)\IBM\Lotus\Notes\notes.exe');
>
>and that failed. After some reading, I thought perhaps the parens were a problem so I also added the short version:
>
>
OR FILE('c:\Progra~2\IBM\Lotus\Notes\notes.exe')
>
>But I still keep getting the ELSE error message that follows this code. I know that the exe is in the location listed. Any ideas?
Is it possible that on the Windows 7 pc the folder is 'program files (x86)'?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham