Add a right click context menu in certain WIndows folders that will open a web browser URL?

Posted by jasondavis on Super User See other posts from Super User or by jasondavis
Published on 2014-08-22T14:49:57Z Indexed on 2014/08/22 16:27 UTC
Read the original article Hit count: 225

Filed under:
|

In a Windows Explorer window where you browse files in Windows 7, I would like to add a new context menu that will allow me to open a file on my local Dev Server.

So it would have to open a browser like Google Crome and the URL would have to be the file path but slightly different removing part of it and prepending my localhost URL.

For example if the file I am right clicking on, the path for that file might be...

E:\Server\htdocs\labs\php\testProject\test.php

I would need a button to click in the context menu Open in Browser and it would open my Web Browser with a URL like this...

http://localhost/labs/php/testProject/test.php

I would love to be able to do this, any ideas or help would greatly be appreciated!

To go one step further, would to be able to somehow make the context menu item only show up on File that are under this folder.... ``E:\Server\htdocs` but this is far less important.

enter image description here

© Super User or respective owner

Related posts about windows-7

Related posts about context-menu