Sale!

Dropbox Path Environment Variable Utility

$60.00 $39.49

A tool that writes the locations of Dropbox Business and Personal to environmental variables.

Category:

Description

A tool to find the location of Dropbox Personal and Business and write their respective paths to standard Windows Environmental Variable.

%DropboxPersonal% for personal / free
%DropboxBusiness% for business / teams

For example if you have .bat, .cmd, .vbs scripts that relies on the location of Dropbox (which can vary between computers) you can access them like this:

Example: Batch Script to copy file to Dropbox Personal

COPY "c:\source_file.doc" "%DropboxPersonal%\Backups\newfile.doc"

 

Example: Visual Basic Script to copy file to Dropbox Business

 
Dim FSO, wshShell
Set FSO = CreateObject("Scripting.FileSystemObject")
Set wshShell = CreateObject( "WScript.Shell" )
Set wshSystemEnv = wshShell.Environment( "DropboxBusiness" )
FSO.CopyFile "c:\source_file.doc", wshSystemEnv & "\Backups\"

 

The advantage of this is you do not have to have multiple version of the same script for different computers, because sometimes Dropbox can be installed on a different drive letter or somewhere else on the local drive and you can’t always guarantee it will be located on C:\Users\SomeUser\Dropbox\

 

Website designed and hosted by
Tomison Technical Solutions, LLC