• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • Last Modified:

Add shortcut to desktop code

hi

i am look for code that will place a desktop shortcut to a webpage.

i would like to offer our customers a link that they can click on which will then add a desktop shortcut to their pcs to our home page with a customized icon.

can anyone help?

thanks
0
naifyboy123
Asked:
naifyboy123
  • 2
  • 2
1 Solution
 
0h4crying0utloudCommented:


I'm pretty sure that cannot be done for security reasons (if you could do that, you could also do a lot of other bad things).  

But  one alternative solution would be to make an img link that looks just like a desktop shortcut on your page and ask them to drag the shortcut icon to their desktop. This would create a similar looking icon right on their desktop and that requires no fancy coding.

0
 
naifyboy123Author Commented:
i was thinking of the same kind of functionality as an "add to favorites" link.

i already have one of these as wanted to add the desktop shorthcut option as well.
0
 
0h4crying0utloudCommented:

that's right but there's a big difference between adding to favorites and adding to the desktop.  

to add to the desktop you really have to create file on end user's c drive and that's a big no no.

Unlike the favorites, there is no convenient javascript method to do this.


0
 
naifyboy123Author Commented:
ok - thanks - i'll leave this Q open for a while and see what comes in - thanks again
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now