Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 22, 2015 at 2:17 pm #19934 bsmallParticipant Can anyone give me the exact syntax needed to make the – editor.OpenFile( strFileName, nEncoding, nFlags ); – command work. Thanks March 23, 2015 at 8:19 am #19940 bsmallParticipant Why does this return “File Not Found”? editor.OpenFile( “C:\install.ini”, 0, eeOpenAllowNewWindow); If I double click on the file path EmEditor has no problem opening it. March 23, 2015 at 12:01 pm #19942 StefanParticipant JavaScript code??? Try doubling the backshlash as that has a special meaning in JS. >>> “C:\\install.ini” “C:\install.ini” means: “C:” + “\i” + “nstall.ini” “C:\\install.ini” means: “C:” + “\” + “install.ini” March 23, 2015 at 5:07 pm #19943 bsmallParticipant Thanks Stefan! That did it! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The forum ‘Questions and Answers about Macros’ is closed to new topics and replies.