简体   繁体   中英

How to open remote html file in internet explorer?

I am trying to open a remote html file in IE 8. Interestingly, there is no error thrown and the remote file is not opened in IE 8. Below is command executed on hamilton shell prompt:

"C:\\Program Files (x86) \\Internet Explorer\\iexplore.exe" "file://o|\\portsrc\\spg\\system_1\\help\\creo_help_pma/usascii/pma/simulation_modules/modstr/constrnt/reference/insuf_cons_models.html"

But, the file gets opened in firefox:

"C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" "file://o|\\portsrc\\spg\\system_1\\help\\creo_help_pma/usascii/pma/simulation_modules/modstr/constrnt/reference/insuf_cons_models.html"

Please guide me for the same.

Regards, Amol Gaikwad.

I got the answer and below is the solution to open the remote file in Internet explorer.

"C:\\Program Files (x86) \\Internet Explorer\\iexplore.exe" "file:///o|/portsrc/spg/system_1/help/creo_help_pma/usascii/pma/simulation_modules/modstr/constrnt/reference/insuf_cons_models.html"

Resolved using "file:///" instead of "file://".

And 2nd the most important a network html path.

Changed slashes from '\\\\' to '/'.

Thanks, Amol.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM