![]() ![]() With over a decade of writing experience in the field of technology, Chris has written for a variety of publications including The New York Times, Reader's Digest, IDG's PCWorld, Digital Trends, and MakeUseOf. Chris has personally written over 2,000 articles that have been read more than one billion times-and that's just here at How-To Geek. In your test what was the exact format of the "HTML_file_path_here.Chris Hoffman is the former Editor-in-Chief of How-To Geek. "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -new-window -ie-mode-file-url -flag-switches-begin -flag-switches-end "C:\TestSoftwareSuite\index.htm" Hence I'm not sure why the line listed on the version page includes the -flag-switches-begin -flag-switches-end as in: The command line I am calling to load Edge is: I downloaded the current policy templates and set the policies to: ![]() User agent Mozilla/5.0 (Windows NT 10.0 Win64 圆4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/.182 Safari/537.36 Edg/88.0.705.81Ĭommand-line "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -new-window -ie-mode-file-url -flag-switches-begin -flag-switches-end "C:\TestSoftwareSuite\index.htm"Įxecutable pathĜ:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe Operating system Windows 10 OS Version 2004 (Build 19041.804) I am using Edge version 88.0.705.81 as you list rest is as below: You appear to have done exactly what I have tried but in yuour case it works as expected. Thank you for the response - and apologies for my delay in replying. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. If the response is helpful, please click "Accept Answer" and upvote it. It should launch the local file in the IE mode in the Edge browser. Make sure that the policy you just enabled is updated here.Īfter that, you can try to launch the Edge browser shortcut that contains the command line. ![]() Then after launch the Edge browser and paste edge://policy/ in the address bar and press the Enter key. "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -new-window -ie-mode-file-url "HTML_file_path_here."Īfter enabling the Allow launching of local files in Internet Explorer mode policy, try to launch the command prompt window as an Administrator and run the gpupdate command. Then you can set the command line value like below. If you set this policy to false, the user isn't allowed to use the -ie-mode-file-url command-line argument for launching local files in Internet Explorer mode. If you set this policy to true, or don't configure it, the user is allowed to use the -ie-mode-file-url command-line argument for launching local files in Internet Explorer mode. This policy controls the availability of the -ie-mode-file-url command line argument which is used to launch Microsoft Edge with a local file specified on the command line into Internet Explorer mode. The latest Edge browser group policy template contains Allow launching of local files in Internet Explorer mode policy. If you are using the older group policy templates for the Edge browser then I suggest you download the latest group policy templates from here. I try to test the said issue on my side with the Microsoft Edge Version 88.0.705.81. I am using Edge 88.0.705.81 (Official build) Burdett ,įrom your above-mentioned description, I understand that you want to launch the locally stored HTML files(file://) using the IE mode in the Edge browser. Is there actually any support for -ie-mode-file-url in Edge? "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -new-window -ie-mode-file-url "bbc.co.uk" I have also tried it with with external site as follows: The flag -ie-mode-file-url, which is referenced in (althought there are only three Googe results fo a search for "-ie-mode-file-url"!), does not apear do do anything. It does open a new Edge window (so the flag -new-window works) and the page loads, but in nornal Edge mode. "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -new-window -ie-mode-file-url "C:\TestSoftwareSuite\index.htm"īut this does not work. I thought I might be able to force the load via a shortcut of the format: ![]() I have successfully set up a group policy which means the external websites I list in a sitelist.xml file will automatically load in IE mode, but this does not work for URLs which start file:/// The ActiveX controls mean we have to use IE but I am trying to get Edge to load these pages in an IE tab. We use an instrument test system which uses ActiveX controls to support hardware communication with the UUT and other test instruments via serial, USB, and GPIB, all operated via Javascript code on HTML pages which are saved on the filesystem of the PC running the tests. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |