I'm trying to create a cmd file that mounts rclone, but I want to group all the cmd files together causing them to be in a different folder.
The currently working cmd files are located here with rclone software
D:\Tools For Games\Mount Google Drives\Rclone
But if I move the cmd files into here (for better organising ) it no longer works
D:\Tools For Games\Mount Google Drives\Rclone\CMD File
What is your rclone version (output from rclone version)
rclone v1.53.3
os/arch: windows/amd64
go version: go1.15.5
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 64 bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone mount GoogleDrive: U: --vfs-cache-max-size 10G --cache-dir "D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder" --vfs-cache-mode full
the goal is to enable a script to be located in any folder.
the way to do that is to hard code the path of rclone.
then the script, no matter where is is located can find rclone.
Sorry I was not clear, I mean global system env variables, so in the script you can just use 'rclone' instead of store the value of the path in an env variable in the script.