editor.OpenFile( strFileName, nEncoding, nFlags );

Started by: bsmall2 voices4 posts

Can anyone give me the exact syntax needed to make the - editor.OpenFile( strFileName, nEncoding, nFlags ); - command work. Thanks
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.
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”
Thanks Stefan! That did it!

4 posts in this topic