How to open local .htm file with anchor(#) link in Edge browser from command line?
问题 I try to open local .htm file with anchor link in Edge browser from command linе. LaunchWinApp.exe "file:///C:/index.htm#anchor.htm" But Edge browser opens only index page file:///C:/index.htm without additional page. Why is this happening? 回答1: For the time being, you cannot open local files in this manner. You should instead host a web-server out of your target folder, and access the resources via localhost. There are currently discussions taking place within the Microsoft Edge team around