Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get URL attribute of Internet Shortcut file 1

Status
Not open for further replies.

dragonwell

Programmer
Oct 21, 2002
863
US
I'm not too expreienced with File system stuff - what I want to do is get files from my favorites folder out of my profile and get the URLs. I can get the file names and other attirbutes, but I didn't see any "URL" attribute. Does the FileInfo need to be cast to a ".uri" file type or something?

Any ideas?

TIA
 
You can just open those files as a text file and grab the second line out of them for the URL. Example of the first two lines of my TT favorite file opened in notepad:

[DEFAULT]
BASEURL=http://www.tek-tips.com/

~~~~~~~~~~~

:)
-p

penny.gif
penny.gif

The answer to getting answered -- faq855-2992
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top