Windows .url链接指向复制或删除时指向相同的地址

时间:2022-02-03 07:25:34

This is really annoying, we've switched our client downloads page to a different site and want to send a link out with our installer. When the link is created and overwrites the existing file, the metadata in windows XP still points to the same place even though the contents of the .url shows the correct address. I can change that URL property to google.com and it points to the same place when I copy over the file.

这真的很烦人,我们已将客户端下载页面切换到其他站点,并希望通过我们的安装程序发送链接。创建链接并覆盖现有文件时,即使.url的内容显示正确的地址,Windows XP中的元数据仍指向同一位置。我可以将该URL属性更改为google.com,当我复制该文件时,它指向相同的位置。

[InternetShortcut]
URL=https://www.xxxx.com/?goto=clientlogon.php  
IDList=
HotKey=0

It works if we rename our link .url file. But we expect that the directory will be reused and that would result in one bad link and one good link which is more confusing than it is cool.

如果我们重命名链接.url文件,它就有效。但我们希望该目录将被重用,这将导致一个坏链接和一个好的链接,这比它很酷很混乱。

2 个解决方案

#1


3  

Take a look at here: http://www.cyanwerks.com/file-format-url.html

请看这里:http://www.cyanwerks.com/file-format-url.html

It explains there's a Modified field you can add to the .url file. It also explains how to interpret it.

它解释了可以添加到.url文件的Modified字段。它还解释了如何解释它。

#2


1  

.URL files are wierd (are they documented anywhere?)

.URL文件很奇怪(它们在任何地方都有记录吗?)

Mine look like this and I don't seem to have that problem (maybe because of the Modified entry?)

我看起来像这样,我似乎没有那个问题(也许是因为修改条目?)

[DEFAULT]
BASEURL=http://www.xxxx.com/Help
[InternetShortcut]
URL=http://www.xxxx.com/Help
Modified=60D0EDADF1CAC5014B

#1


3  

Take a look at here: http://www.cyanwerks.com/file-format-url.html

请看这里:http://www.cyanwerks.com/file-format-url.html

It explains there's a Modified field you can add to the .url file. It also explains how to interpret it.

它解释了可以添加到.url文件的Modified字段。它还解释了如何解释它。

#2


1  

.URL files are wierd (are they documented anywhere?)

.URL文件很奇怪(它们在任何地方都有记录吗?)

Mine look like this and I don't seem to have that problem (maybe because of the Modified entry?)

我看起来像这样,我似乎没有那个问题(也许是因为修改条目?)

[DEFAULT]
BASEURL=http://www.xxxx.com/Help
[InternetShortcut]
URL=http://www.xxxx.com/Help
Modified=60D0EDADF1CAC5014B