为什么我不能批量打开带有%的网站? [英] Why Can't I Batch Open a Website with %'s?

查看:56
本文介绍了为什么我不能批量打开带有%的网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我和我的朋友创建一个BatchOS,以显示我们有多少个订阅者,但是由于我们的频道名称带有空格,因此网站将其替换为%20".无论如何,我可以解决这个问题.批次将以 https://livecounts.net/channel/Eternal0Dusk0Gaming 打开,但我已经输入 https://livecounts.net/channel/Eternal%20Dusk%20Gaming .谁能帮我吗?

I am attempting to create a BatchOS for me and my friend that will show how many subs we have, but since our channel names have spaces, the website replaces those with "%20" s. Anyway I can get around this. Batch will open it up as https://livecounts.net/channel/Eternal0Dusk0Gaming, but I have typed https://livecounts.net/channel/Eternal%20Dusk%20Gaming. Can anyone help me?

start chrome https://livecounts.net/channel/Eternal%20Dusk%20Gaming

我以前没有遇到过这个问题.如果可以帮助任何人,我将使用Notepad ++.会怀疑:P.

I havent run into this problem before. I use Notepad++ if that helps anyone. Doubt it will tho :P.

推荐答案

%0 %9 都是您传递给批处理文件的参数.由于第二个位置没有参数,因此将其替换为空字符串

%0 to %9 in batch are the parameters you passed to the batch file. As you have no parameter in the second position, it's replaced by an empty string

您需要通过 %%

start chrome https://livecounts.net/channel/Eternal%%20Dusk%%20Gaming

这篇关于为什么我不能批量打开带有%的网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆