We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

jega's avatar
jega
Helpful | Level 6
6 years ago

How to stop syncing using a script?

I know how to stop syncing manually, but I need to do it automatically before the backup start automatically in the night. Any idea how to start / stop syncing by a command in the .bat file?

  • Jane's avatar
    Jane
    Icon for Dropbox Staff rankDropbox Staff
    Hey jega, I understand that you’d like to automate this process, however this inquiry pertains to setting other parameters, independently from Dropbox, so I’ll just leave this question open to our Community of users; maybe someone could offer their insight on how you’d best go about on this request. 
     
    Thanks again for taking the time to drop us a line on the Community & have a wonderful day ahead!
    • jega's avatar
      jega
      Helpful | Level 6

      No, I simply need to stop syncing without fiddling manually with icon in tray. It may be just stopping syncing or (worse) stopping Dropbox (application), so after issuing such a command I should be sure, that Dropbox would not change the files until I start it again i.e. during the backup process.

      Most applications can be started and stopped from command line, probably Dropbox too.

      • rwdk's avatar
        rwdk
        New member | Level 2

        Use the Windows taskkill command.

        TASKKILL /F /IM dropbox.exe /T

        (For more info start command prompt and type taskkill /?)