cmdline.txt
file (which, of course, can use any file name you please) you enter each command line per line:--url
way, or just with url
, and not like on the command line where everything that is not an option is assumed to be a URL. So you provide a URL for curl like this:-q
is used) checks for a default config file and uses it if found.$CURL_HOME/.curlrc
$XDG_CONFIG_HOME/.curlrc
(Added in 7.73.0)$HOME/.curlrc
%USERPROFILE%\\.curlrc
%APPDATA%\\.curlrc
%USERPROFILE%\\Application Data\\.curlrc
.curlrc
file in the sequence described above, it checks for one in the same dir the curl executable is placed..curlrc
and _curlrc
, preferring the former. Ancient curl versions on Windows checked for _curlrc
only.