Skip to content

Instantly share code, notes, and snippets.

@ricardoriogo
Last active April 7, 2017 00:10
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 ricardoriogo/8148668 to your computer and use it in GitHub Desktop.
Save ricardoriogo/8148668 to your computer and use it in GitHub Desktop.
Script para abrir mais de uma instância do Google Drive (Windows) e sincronizar múltiplas contas. Lembrando que neste caso a pasta do Google Drive está na variável PATH do sistema.
@ECHO OFF
SET USERNAME=username@email.com
SET USERPROFILE=%~dp0%USERNAME%
MD "%USERPROFILE%\AppData\Roaming">nul
MD "%USERPROFILE%\AppData\Local\Application Data">nul
MD "%USERPROFILE%\Application Data">nul
MD "%USERPROFILE%\Local Settings\Application Data">nul
MD "%USERPROFILE%\My Documents">nul
MD "%USERPROFILE%\Documents">nul
START googledrivesync
@HansmillerTdS
Copy link

Comigo não funcionou no Win10 x64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment