![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi ~ how would I go about entering a desktop shortcut into a HTML page as a link? For example if I had a shortcut to a program on my desktop that I wanted to include on a Intranet page how would this be coded in html? I've tried creating the shortcut Target path as a hyperlink but this doesnt work. |
#3
| |||
| |||
|
|
On 2/1/2008 6:20 PM, hermith... (AT) gmail (DOT) com wrote: Hi ~ how would I go about entering a desktop shortcut into a HTML page as a link? For example if I had a shortcut to a program on my desktop that I wanted to include on a Intranet page how would this be coded in html? I've tried creating the shortcut Target path as a hyperlink but this doesnt work. For reasons of security, I think you should place the file (in your case, the program) on a network file server within your LAN and not have other users accessing your own desktop. In a Mozilla-type browser, go to your menu bar and select [File > Open File]. *In IE, it's [File > Open]. *Navigate to the directory on the file server where the file is found. *Copy the file's URI from the list of files in your browser window. *Use that to create the link. -- David Ross http://www.rossde.com/ Have you been using Netscape and now feel abandoned by AOL? Then use SeaMonkey. *Go to <http://www.seamonkey-project.org/>. |
#4
| |||
| |||
|
|
I've followed the instructions and used this path C:\Documents and Settings\xxxxxx\Desktop\App.lnk as my link a href="file:///C:/Documents and Settings/xxxxxx/Desktop/ App.lnk">Link to App /a></p> Nothing happens when I click the link though. |
#5
| |||
| |||
|
|
Thanks Ross, yep the programs on a network file. Actually my real goal is to create a hyperlink to a folder/file in a windows explorer based document management system (linking directly to the path doesnt work we've tried). So this is just one of many alternate strategies. I've followed the instructions and used this path C:\Documents and Settings\xxxxxx\Desktop\App.lnk as my link a href="file:///C:/Documents and Settings/xxxxxx/Desktop/ App.lnk">Link to App /a></p> Nothing happens when I click the link though. |
#6
| |||
| |||
|
|
Fri, 1 Feb 2008 19:46:53 -0800 (PST), /hermith... (AT) gmail (DOT) com/: Thanks Ross, yep the programs on a network file. Actually my real goal is to create a hyperlink to a folder/file in a windows explorer based document management system (linking directly to the path doesnt work we've tried). So this is just one of many alternate strategies. I've followed the instructions and used this path C:\Documents and Settings\xxxxxx\Desktop\App.lnk as my link a href="file:///C:/Documents and Settings/xxxxxx/Desktop/ App.lnk">Link to App /a></p> Nothing happens when I click the link though. You cannot reliably use Windows shortcuts across browsers and operating systems. Mozilla browsers have problem interpreting Windows shortcuts even on Windows. On other operating systems theshortcutwould mean nothing. You better link directly to the file pointed to by theshortcut. Next, how do you access / what is the URL of thepagecontaining the link to the other file? You cannot access local "file:" resources if you load thepageas "http:" resource, for example: http://myserver/page.html containing link to: file://myserver/path/to/file You should be able to configure your server to access the necessary resources through the same scheme. -- Stanimir |
#7
| |||
| |||
|
|
So what your saying is I have to have the link pointing to the shortcut's Target. For example on my PC Mozilla's shorcut Target is "G: \Program Files\Mozilla Firefox\firefox.exe" I've created this as a Hyperlink but it doesnt work. |
#8
| |||
| |||
|
|
Hi ~ how would I go about entering a desktop shortcut into a HTML page as a link? For example if I had a shortcut to a program on my desktop that I wanted to include on a Intranet page how would this be coded in html? I've tried creating the shortcut Target path as a hyperlink but this doesnt work. |
#9
| |||
| |||
|
|
So what your saying is I have to have the link pointing to the shortcut's Target. For example on my PC Mozilla's shorcut Target is "G: \Program Files\Mozilla Firefox\firefox.exe" I've created this as a Hyperlink but it doesnt work. |
#10
| |||
| |||
|
|
Hi ~ how would I go about entering a desktop shortcut into a HTML page as a link? For example if I had a shortcut to a program on my desktop that I wanted to include on a Intranet page how would this be coded in html? I've tried creating the shortcut Target path as a hyperlink but this doesnt work. |
![]() |
| Thread Tools | |
| Display Modes | |
| |