I have a folder which contains some URLs and I want to compare them to a list of Firefox bookmarks.
e.g. The Web document property for "Covert Affairs.URL" points to "http://www.tvrage.com/Covert_Affairs/episode_list/all". Not sure if there is a way to access this with Winbatch.
Got it. Just thought I'd see what FileGet had to say about the file.
info = fileget("C:\Users\George\Favorites\Links\TVRage\Covert Affairs.URL")
Rtn = strreplace(Info, @crlf, @tab)
BkMark = itemextract(2, itemextract(2, Rtn, @tab), '=')
clipput(BkMark)
pause(`DEBUG PAUSE`, strCat(`BkMark = `, BkMark)) ;***DEBUG LINE***
:cancel
return
From there it was just a matter of parsing the returned value for the info I wanted.
If I remember correctly, the .url files are just .ini files so maybe give 'IniReadPvt' a try. It might even work.
You recall correctly.
Url = inireadpvt('InternetShortcut', 'URL', 'N/A', "C:\Users\George\Favorites\Links\TVRage\Covert Affairs.URL")