Skip to content

Instantly share code, notes, and snippets.

@codethereforam
Last active August 27, 2023 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codethereforam/eb5e5614df58cb145809459b43d48f01 to your computer and use it in GitHub Desktop.
Save codethereforam/eb5e5614df58cb145809459b43d48f01 to your computer and use it in GitHub Desktop.
Windows系统下Google Drive开机启动
start /B proxychains "C:\Program Files\Google\Drive File Stream\79.0.2.0\GoogleDriveFS.exe"
Dim WinScriptHost
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "D:\opt\start-google-driver.bat" & Chr(34), 0
Set WinScriptHost = Nothing
  1. 安装proxychains,然后修改配置文件
  2. 添加start-google-driver.bat文件
  3. 把start-google-driver.vbs放到~\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup目录下
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment