Open html with Chrome

Discussion, questions and support.
Post Reply
JamP
Posts: 10
Joined: Dec 29th, ’13, 19:28

Post by JamP » Dec 29th, ’13, 20:07

Hy..

how do I open a local html with chrome?
I want to open a set of pages in chrome + html files in notepad.

Put like this:

file:///C:/index.html
C:/Users/index.html

The first line to open in Chrome and the second to open in Notepad, however, the two open in notepad!

What should I do to get the chrome on the front line?

Thanks!
User avatar
Marko
Posts: 1718
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Dec 29th, ’13, 20:29

To open files with non-default application just do like in the following examples - Type=Run:

Code: Select all

notepad C:/Users/index.html
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe C:/Users/index.html
Please check if your path to Chrome.exe is the same.
JamP
Posts: 10
Joined: Dec 29th, ’13, 19:28

Post by JamP » Dec 29th, ’13, 22:59

Hum.. very simple! but..

If the folder name has a space? Type:

c:/folder name/index.php

folder name = space in two names!

Edit: not accept %20 in space!
User avatar
Marko
Posts: 1718
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Dec 29th, ’13, 23:16

Could you give me your example of file and folder names you want to run?
JamP
Posts: 10
Joined: Dec 29th, ’13, 19:28

Post by JamP » Dec 29th, ’13, 23:17

Code: Select all

C:\Program Files (x86)\Google\Chrome\Application\chrome.exe C:/Users/Bruno/Web Sites/Flash_html/GooSite/increate/increate/goosite/index.html/
This "/Web Sites/" not work!
User avatar
Marko
Posts: 1718
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Dec 30th, ’13, 00:25

Ok, I see, in this case you can put the file name in quotes, same as in WIndows:

Code: Select all

C:\Program Files (x86)\Google\Chrome\Application\chrome.exe "C:/Users/Bruno/Web Sites/Flash_html/GooSite/increate/increate/goosite/index.html"
JamP
Posts: 10
Joined: Dec 29th, ’13, 19:28

Post by JamP » Dec 30th, ’13, 15:02

OK.. very simple! Thanks again!

Perfect!
Post Reply