Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

疑难问题解答 #6

Open
hoochanlon opened this issue Mar 31, 2024 · 0 comments
Open

疑难问题解答 #6

hoochanlon opened this issue Mar 31, 2024 · 0 comments

Comments

@hoochanlon
Copy link
Owner

hoochanlon commented Mar 31, 2024

注意

当出现 “'Forbidden' 不是内部或外部命令,也不是可运行的程序或批处理文件。” 说明文件下载未成功。

关于网络问题

当出现链接失效时注意替换cdn、配置代理等。以下是cdn、加速项目:

示例

将 ghproxy.com 替换成 ghproxy.org。

curl -OfsSL https://ghproxy.com/https://raw.githubusercontent.com/hoochanlon/scripts/main/d-bat/right-menu.bat&&call right-menu.bat
curl -OfsSL https://ghproxy.org/https://raw.githubusercontent.com/hoochanlon/scripts/main/d-bat/right-menu.bat&&call right-menu.bat

或换成原始链接,配置代理、VPN等。

标记“&&”不是此版本中的有效语句分隔符。

注意当前是 power shell 环境需要切换成 cmd

示例

cmd
curl -OfsSL https://ghproxy.org/https://raw.githubusercontent.com/hoochanlon/scripts/main/d-bat/webtools.bat&&call webtools.bat

raw 查看 powershell、batch 源码的乱码问题。

由于采用 GB2312 编码,所以需要使用 Charset 扩展,并选择 GB2312编码打开即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant