BY DELETING THIS COMMENT, I AM CONFIRMING I HAVE READ THIS AND WILL USE THE TEMPLATE BELOW FOR MY POST.
What is the problem you are having with rclone?
I put a password in the configuration, however every time I run the script.bat I need to put the password. I want to either put the password directly into the command or configure the script to read the password.
What is your rclone version (output from rclone version)
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Paste command here
```c:\rclone\rclone -vP sync --progress C:\pasta gdrive:documentos\office
#### The rclone config contents with secrets removed.
<!-- You should use 3 backticks to begin and end your paste to make it readable. -->
Paste config here
#### A log from the command with the `-vv` flag
<!-- You should use 3 backticks to begin and end your paste to make it readable. Or use a service such as https://pastebin.com or https://gist.github.com/ -->
C:\rclone>echo password | c:\rclone\rclone -vP sync --progress C:\pasta gdrive:documentos\office
2021/12/17 16:46:28 ERROR : Failed to save config after 10 tries: Failed to move previous config to backup location: rename C:\Users\servidor.config\rclone\rclone.conf C:\Users\servidor.config\rclone\rclone.conf.old: O arquivo já está sendo usado por outro processo.
I need that too.
I need to encrypt rclone.conf so no one can use my configuration and I need to run the command inside an executable script.
I do the script without problems, but I don't know how to handle the rclone commands inside the script so that it doesn't ask for the password