Rclone mount Windows
Guide for Mounting Remotes using Rclone for Windows
This is my trick to use rclone mount command. If it isn't efficient and you have another efficent, easy way, feel free to create an issue or create a pull request 🥰
1️⃣ SOME REQUIREMENTS
INSTALL SILENTCMD
What is it? 🤔
It helps to run commands silently, not open the cmd window
Installation ⚙️
Go to SilentCMD repo
Download from Release page, extract and put it in a folder
SET ENV FOR RCLONE & SILENT CMD
You should also set environment path for Rclone to make it easier to use 😪
2️⃣ CREATE A BATCH SCRIPT 📜
The directory where the batch script locates doesn't matter, you can create it in any directory
Create a batch file (Ex: Mount.bat)
Edit it (Ex: Notepad) and put the below script inside the batch file
set rclone_command=replace_your_rclone_command_here set website_to_ping=google.com :CHECK_CONNECTION ping %website_to_ping% -n 1 > nul if %errorlevel% neq 0 ( timeout /t 5 > nul goto CHECK_CONNECTION ) start SilentCMD %rclone_command% timeout /t 2 taskkill /f /im SilentCMD.exe
Replace your command in the script above 👆
Ex of my rclone mount script:
rclone mount CombineNeccessary: Z: --cache-dir "D:\Program Files\Rclone Cache" --vfs-cache-mode full --network-mode --volname "Cloud Storages" --no-modtime --no-checksum --buffer-size=512M --vfs-cache-max-age 72h
See more about rclone command to use it as your demand 😪
Copy the full path of the script above for the below step
In step 3, if you don't set env for SilentCMD & Rclone, you will have to replace the full path of the .exe file of those programs
4️⃣ SET UP RUNNING MOUNT SCRIPT 🏃♂️
Right-click anywhere to open Context Menu --> New --> Shortcut
Type the location of the item:
SilentCMD "the_full_path_of_batch_script"
--> NextType a name for this shortcut: Anything you want (Ex: Rclone mount)
In step 2, if you don't set env for SilentCMD, you have to enter the full path of .exe of SilentCMD
Addition:
Change icon for shortcut:
Open its properties (
Alt + Enter
)Click on
Change icon...
: Browse to the icon file You can use rclone.exe's icon
5️⃣ RUN RCLONE MOUNT AT STARTUP 🪟
Easiest way:
Windows + R:
shell:startup
Copy & Paste the shortcut you created from the previous step
More controlable way:
Use task schedule which I'm not good at using it 🥴
6️⃣ MAKE THE SHORTCUT BE VISIBLE IN PROGRAM LIST + START MENU
Windows + R:
shell:Common Programs
Copy & Paste the shortcut you created from the previous step
And now you can search for the shortcut in search bar 🔎
Last updated
Was this helpful?