restart dropbox application script

copy and paste below to your batch script.

[code]

taskkill /im dropbox.exe /f
start "dropbox" "C:\Program Files (x86)\Dropbox\Client\Dropbox.exe"

[/code]

or, just download it: dropbox link

Description

replace C:\~ block to your dropbox installation path, if needed. (in most case you may not need)

Well, it’s a kind of “cold” way to restart sync. it closes entire application and launches. It is a costly job-though acutally it takes just few seconds. It would be better if I could send stop/resume sync message to dropbox app, but I have no idea for now.

 

Why I wrote this (or why you may need it)?

I use symbolic link with dropbox. dropbox works quite well with links, but have limitations: detecting file/folder modification does not work. These modification are handled at the next time app starts. Precisely, at indexing sequence. (So you don’t have to turn off the app actually – pausing and resuming sync is sufficent.)

So I wrote this script, to save few clicks to restart the app.

note: If you are not hurry, you don’t need this. The next time you boot (acutally logon, but no matters) all things will be handled.