[WINDOWS] [SUGGESTION] replace explicit paths by system variables in generated docs

For instance

--temp-dir string Directory rclone will
use for temporary files (default
"C:\\Users\\UserFoo\\AppData\\Local\\Temp")

should be something like

--temp-dir string Directory rclone will
use for temporary files (default
"$USER$\\AppData\\Local\\Temp")

This is my preference out of an overabundance of security caution.

Also; where do the double backslashes come from? Is that some weird escape character issue?

yes, that is correct. windows path need that on linux, go, python, etc...

1 Like