Overfill3641
V2EX  ›  问与答

Aria2 怎么加载配置?

By Overfill3641 at 2021 年 3 月 14 日 · 1452 次点击
C:\Aria2>aria2c --conf-path=C:\Aria2\aria2.conf

Configuration file C:\Aria2\aria2.conf is not found.
Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
Printing options tagged with '#help'.
See 'aria2c -h#help' to know all available tags.
Options:
-h, --help[=TAG|KEYWORD] Print usage and exit.
The help messages are classified with tags. A tag
starts with "#". For example, type "--help=#http"
to get the usage for the options tagged with
"#http". If non-tag word is given, print the usage
for the options whose name includes that word.

Possible Values: #basic, #advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #rpc, #checksum, #experimental, #deprecated, #help, #all
Default: #basic
Tags: #basic, #help

Refer to man page for more information.

--conf-path= 完全无效
2 条回复  •  2021-03-14 20:04:27 +08:00
loli
   1
loli  
   2021 年 3 月 14 日
Configuration file C:\Aria2\aria2.conf is not found.

文件没找到,具体是路径得加引号还是啥得具体分析(一个可能是权限,尽量不要放这个目录)

看你这是同级目录可以试试
aria2c --conf-path=aria2.conf
Overfill3641
   2
Overfill3641  
OP
   2021 年 3 月 14 日
@loli 没用,目录换了个、aria2c --conf-path=aria2.conf,也是这样。
虚拟机都不行,[下的这个]( https://github.com/aria2/aria2/releases/download/release-1.35.0/aria2-1.35.0-win-64bit-build1.zip),你试试。
© 2026 V2EX · 123ms · 3.9.8.5