http://www.secfs.net/winfsp/download/
https://rclone.org/downloads/
先下載這些
rclone那邊下載AMD64那個
上面那個直接安裝
下面那個解壓縮之後丟到C槽隨便一個位置(我是放文件
然後開cmd
切換到rclone那個資料夾
下指令
rclone config
雲端類型選12
google drive
中間沒什麼重點
一路enter到她問你要不要使用Autoconfig
那邊輸入y
瀏覽器應該會自己跳出來叫你登入
直接選有無限GD那個
跑完之後她會告訴你弄完惹,回去cmd視窗
Current remotes:
Name Type
==== ====
gdrive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q (輸入q)
然後在rclone資料夾裡面建立一個txt檔案
裡面輸入這些
Option Explicit
Dim WMIService, Process, Processes, Flag, WS
Set WMIService =
GetObject("winmgmts:{impersonationlevel=impersonate}!\\.\root\cimv2")
Set Processes = WMIService.ExecQuery("select * from win32_process")
Flag = true
for each Process in Processes
if strcomp(Process.name, "rclone.exe") = 0 then
Flag = false
exit for
end if
next
Set WMIService = nothing
if Flag then
Set WS = Wscript.CreateObject("Wscript.Shell")
WS.Run "rclone mount GDrive:/ x: