该主题已部分研究,有 8 年(此处:如何复制 Internet 快捷方式中包含的 URL?)
我有数千个互联网快捷方式,我想将它们中包含的 URL 复制到 txt 文件中。
我已经使用了Karan建议的命令行(使用Win + R,CMD):没关系!
但是 :-( ,它不适用于互联网快捷方式,女巫名称包含法语字符(例如 é ù î à)或中文字符(例如中太国)。或者我是法国人,我练习太极拳...... [注释添加后已编辑:事实上,对于法语字符(é ù î à...):没问题,请参阅 PPS。] 这就是为什么我的互联网快捷方式主要包含这些字符,所以我不知道解决方案...
非常感谢您的关注,如果您有一个想法来解决我的问题(使用命令行方法,或其他方法(?))...那就太好了,因为我多年来一直有这个问题...
欲了解信息:
- 我使用Win 10,我的信息学水平非常浅和基础
- Jimadine ( http://support.microsoft.com/en-us/kb/183436 )建议的链接已损坏(并且似乎未保存在http://web.archive.org上)
祝大家友谊长存!
附:
观察:更精确地观察结果,我发现有时名称内容重音的 URL 在 txt 文件中获得正确的结果......所以,我很困惑!这里失败的URL: https://www.lepoint.fr/sport/les-essentiels-du-yoga-1-la-posture-de-l-enfant-21-09-2019-2336989_26.php https:// /www.lepoint.fr/sport/les-essentiels-du-yoga-9-la-torsion-au-sol-16-11-2019-2347753_26.php https://www.lepoint.fr/sport/les- essentiels-du-yoga-13-la-posture-de-l-enfant-retourne-14-12-2019-2353171_26.php https://www.lepoint.fr/sport/les-essentiels-du-yoga-16 -la-posture-de-l-aigle-04-01-2020-2356139_26.php https://www.lepoint.fr/sport/les-essentiels-du-yoga-17-la-posture-de-la-金字塔-11-01-2020-2357301_26.php https://www.lepoint.fr/sport/les-essentiels-du-yoga-18-la-posture-de-la-tete-de-vache-18-01-2020-2358428_26.php https://www .lepoint.fr/sport/les-essentiels-du-yoga-19-la-posture-du-demi-grand-ecart-25-01-2020-2359619_26.php https://www.lepoint.fr/sport/ les-essentiels-du-yoga-20-la-posture-de-la-fente-basse-01-02-2020-2360806_26.php https://www.lepoint.fr/sport/les-essentiels-du-yoga -21-tonifier-ses-abdominaux-08-02-2020-2361793_26.php https://www.lepoint.fr/sport/les-essentiels-du-yoga-22-la-respiration-carree-15-02- 2020-2362865_26.php
关于汉字示例: 互联网快捷方式名称:中国太极文化学院 URL:https ://www.youtube.com/channel/UCRQzrSQweuWQ9FPaBpZkfjQ
PPS:经过新的检查:关于“法国口音”(如 éù îà):它们不是问题的根源:失败来自 unicode 字符 U+2013 (–)(名为“En Dash”)。所以我修改了帖子的标题,将我的问题集中在中文字符上,以及更普遍的 unicode 字符上......
问题似乎是 DOS 不喜欢 URL 文件名中的 unicode。
DOS 命令的 powershell 替代品(应该是 unicode 安全的),可以使用您的几个示例 URL 在我的机器上运行:
在powershell中运行该代码的结果: