Extracting the htm page from its shortcut
-
When you save a web page[ for example http://www.microsfot.com/China\] to your favorites folder, you will be saving it as a short cut with a descriptive name which goes into a folder in your computer. The format of this will be generally *.url. Now is there a way to get the original string [http://www.microsoct.com/China\] from the *url [aliased] file name programmatically.:~
-
When you save a web page[ for example http://www.microsfot.com/China\] to your favorites folder, you will be saving it as a short cut with a descriptive name which goes into a folder in your computer. The format of this will be generally *.url. Now is there a way to get the original string [http://www.microsoct.com/China\] from the *url [aliased] file name programmatically.:~
It's just a text file. Drop it inot notepad to see the format and you can the parse it in your own code to get the url you need.