Azzurro 0 Posted November 5, 2010 Hi to all, Newbie here.... I'm trying to do a FileExists on C:\Program Files\Microsoft Office\Office12 using the following code : Const $OfficePath = "\Microsoft Outlook\Office12\" If FileExists(@ProgramFilesDir & $OfficePath) Then code... true Else code... false EndIf The problem is that it never find the directory and also returns false but when I explicitely write "C:\Program Files\Microsoft Office\Office12\" it returns true. What am I doing wrong? Can't I use a macro + another string? Your insight would be greatly appreciate. Thank you. Share this post Link to post Share on other sites
Azzurro 0 Posted November 5, 2010 NEVER MIND..... I didn't specify the correct path in the "const". I think I need more coffee..... Share this post Link to post Share on other sites