- You must be logged in to reply to this topic.
Can anyone give me the exact syntax needed to make the – editor.OpenFile( strFileName, nEncoding, nFlags ); – command work.
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.
Try doubling the backshlash as that has a special meaning in JS.
“C:\install.ini” means: “C:” + “\i” + “nstall.ini”
“C:\\install.ini” means: “C:” + “\” + “install.ini”
Thanks Stefan! That did it!
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.
We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Google reCaptcha Settings:
Vimeo and Youtube video embeds: