Advertisement
Lars-UT

Determine Dropbox Folder Location using PowerShell

Feb 21st, 2013
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ########################################################
  2. # Assign Dropbox folder to variable $DropBoxPath
  3. $Base64DropboxPath = Get-Content ([Environment]::GetFolderPath("ApplicationData") + "\Dropbox\host.db") | Select-Object -Index 1
  4. <## Base64 Decode String ##> $DropBoxPath = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($Base64DropboxPath))
  5. ########################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement