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?