This is a question about the .url
file format:
How can I store the webpage title inside a Windows .url
file ?
I was unable to find an official documentation of the .url
file format anywhere on the Net. I only found an "Unofficial Guide to the URL File Format" according to which the .url
file structure is as follows in this sample file:
[InternetShortcut]
URL=http://www.someaddress.com/
WorkingDirectory=C:\WINDOWS\
ShowCommand=7
IconIndex=1
IconFile=C:\WINDOWS\SYSTEM\url.dll
Modified=20F06BA06D07BD014D
HotKey=1601
I am looking for something like
TITLE=This is the webpage title!
or
NAME=This is the webpage title!
Is there any official .ini
value to store the webpage title?
Honestly, I'd find it pretty weird if this was missing.
In Linux you can do exactly that with name=...
in .desktop
files (which are the equivalent of .url
files in Windows).
With regards to Windows .url
files, this webpage claims (rightly or wrongly):
You can optionally include the Title= and Desc= properties
But I could not find any authoritative resource confirming (or contradicting) this claim.
The Microsoft documentation (mirror) says there is a property ID PID_IS_NAME
which is the "Name of the Internet shortcut". Does this mean, we can use NAME
as follows?
[InternetShortcut]
URL=http://www.someaddress.com
NAME=This is the webpage title!
In case there really isn't an officially designated way to do so, will I possibly break any functionality, if I just add title=...
for myself (as a personal hack)? Even if Windows will not detect this information and cannot use it, at least I would have this information stored for my personal reference.