Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Force Open Shortcut in New Window

Highlighted
Robert S. Falko
Honored Contributor

Force Open Shortcut in New Window

Is there a way to force opening a shortcut in new window, rather than opening the document within the OVSD window?

If the shortcut is to a file-system file (like c:\windows\...), the link is opened in a new window. However, if the link is in URL format (http://, or file://), the document is opened within the OVSD window, as if it were a view, which I do not want.

Thanks,
Josh
9 REPLIES
MarkvL
Honored Contributor

Re: Force Open Shortcut in New Window

Hi Josh,

I think I found the solution for you, do not create an actual URL like http but create a new txt file on a location of your pereference. Rename the txt filename to www.google.com (for example) and create a shortcut to this "file".
This worked on my machine.

Mark

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Robert S. Falko
Honored Contributor

Re: Force Open Shortcut in New Window

1) ...create a new txt file on a location of your pereference...

I create the file c:\temp.txt

2) Rename the txt filename to www.google.com (for example)...

I rename that file to www.google.com

3)...and create a shortcut to this "file".

I create a shortcut with properties
Name = c:\www.google.com
File or URL = c:\www.google.com

4) I click on the shortcut - Error - A device attached to the system is not functioning.

I guess I misunderstand your technique.

-Josh
MarkvL
Honored Contributor

Re: Force Open Shortcut in New Window

Hi Josh,

I did exactly the same thing as you just described an it worked!?
Maybe it is the "file type", mine is opened as a MS-DOS Application.

Mark
HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Robert S. Falko
Honored Contributor

Re: Force Open Shortcut in New Window

Perhaps your link works because the URL you used (www.google.com) as an example coincidentally ends in ".com", which, in the registry of your PC, is associated with an MS-DOS application.

Virtually all of my links will have the extension ".html" at the end.

-Josh
MarkvL
Honored Contributor

Re: Force Open Shortcut in New Window

Hi Josh,

You are right, it works as long as there is no / in it etc.
Another way to do this is create a small batch file with just "start url" in it and create a shortcut to that, side effect is that you will see a dos window.

Mark
HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Jasper Verweij
Honored Contributor

Re: Force Open Shortcut in New Window

You could create a smart action, which does the following:

rundll32.exe url.dll,FileProtocolHandler %l

Eg. rundll32.exe url.dll,FileProtocolHandler www.google.com


or

rundll32.exe url.dll,FileProtocolHandler C:\temp

Jasper
Francis Hayes
Acclaimed Contributor

Re: Force Open Shortcut in New Window

Go to Tools, Internet Options, Advanced, scroll down and remove the checkmark from 'Reuse windows for launching shortcuts'. Go to www.TheExcelAddict.com for more time-saving tricks.

Francis Hayes
The Excel Addict
Robert Falkowit
Acclaimed Contributor

Re: Force Open Shortcut in New Window

Thanks for that tip - it has been several years since we have used that tool, so it is not longer possible for us to check it out.

Anyone else have feedback?
The Pike
Honored Contributor

Re: Force Open Shortcut in New Window

That last tip is for Internet Explorer, not for Service Desk... lol.

Robert, here's what I do:

In my browser, I drag the little icon next to the URL and drop it in a folder or on the Desktop.

Then, in Service Desk, I create a Shortcut to the Shortcut file and the webpage opens in a new browser window, not in Service Desk (works for http:// and file:///).

Points are welcome!

The Pike
//Add this to "OnDomLoad" event