Skip to content

A feature-rich command-line audio/video downloader

[README.md] Add an example for how to use .netrc on Windows

Yen Chi Hsuand10d0e3cf8c3
diff --git a/README.md b/README.md
index dc0be1f402..284ce8ca3c 100644
--- a/README.md
+++ b/README.md
@@ -474,7 +474,10 @@ machine twitch login my_twitch_account_name password my_twitch_password
```
To activate authentication with the `.netrc` file you should pass `--netrc` to youtube-dl or place it in the [configuration file](#configuration).
-On Windows you may also need to setup the `%HOME%` environment variable manually.
+On Windows you may also need to setup the `%HOME%` environment variable manually. For example:
+```
+set HOME=%USERPROFILE%
+```
# OUTPUT TEMPLATE