小编Rob*_*bP2的帖子

Windows批处理脚本中的URL编码

我有一个Windows批处理脚本,用于快速谷歌搜索.但是,我无法弄清楚如何一般编码特殊字符.就像我试图搜索C#一样,英镑符号会破坏它.这是我的代码:

SET q="https://www.google.com/#q=%*"
SET q=%q: =+%
chrm %q%
Run Code Online (Sandbox Code Playgroud)

python linux windows batch-file

6
推荐指数
2
解决办法
2463
查看次数

标签 统计

batch-file ×1

linux ×1

python ×1

windows ×1