<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Start Dropbox in batch file - Windows10 in Integrations</title>
    <link>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344104#M3419</link>
    <description>&lt;P&gt;Some have used scheduled tasks along with taskkill to start and stop the dropbox.exe process.&lt;/P&gt;</description>
    <pubDate>Sun, 12 May 2019 17:23:38 GMT</pubDate>
    <dc:creator>Rich</dc:creator>
    <dc:date>2019-05-12T17:23:38Z</dc:date>
    <item>
      <title>Start Dropbox in batch file - Windows10</title>
      <link>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344071#M3414</link>
      <description>&lt;P&gt;When I plan sync with dropbox I start a .bat file.&lt;/P&gt;&lt;P&gt;In case dropbox is active, the script is running normally&lt;/P&gt;&lt;P&gt;In case dropbox is not actieve dropbox.exe is started but the script doesn't continue unless I select the window ( eg by mouseclick).&lt;/P&gt;&lt;P&gt;Start /c doesn't solve.&lt;/P&gt;&lt;PRE&gt;@echo off
set path="C:\Program Files\WinRAR\";"c:\Program Files (x86)\Dropbox\Client\";"c:\Program Files\Microsoft Office\root\Office16\";%path%
start dropbox.exe
rem C:\Windows\System32\cmd.exe /c "PowerShell.exe -NoProfile -Command Clear-RecycleBin"
echo:
echo:	!!!  Zijn alle bestanden en toepassingen gesloten ? 
echo:
choice /C MZC /M "...&amp;gt;&amp;gt;&amp;gt;...Maak een keuze M voor incl pst, Z zonder pst, C om te stoppen."
echo:
if errorlevel 3 goto 3
if errorlevel 2 goto 2
if errorlevel 1 goto 1

:1
ECHO: 		Alleen de gewijzigde data INCL. PST worden verwerkt - kan ook dat er geen zijn !
Echo:
rem TASKKILL /IM OUTLOOK.EXE
Echo: Met PST
rem winRAR a -ao -ac -ed -oni -  etc 
rem winRAR a -ao -ac -ed -oni - etc
pause
exit

:2
ECHO: 		Alleen de gewijzigde data ZONDER PST worden verwerkt - kan ook dat er geen zijn !
Echo:
rem winRAR a -ao -ac -ed -oni - etc
echo:  Zonder PST
pause
exit

:3
exit&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 11:36:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344071#M3414</guid>
      <dc:creator>TonK</dc:creator>
      <dc:date>2019-05-29T11:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Start Dropbox in batch file - Windows10</title>
      <link>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344079#M3415</link>
      <description>&lt;P&gt;Have you tried it without using the start command, just calling dropbox.exe directly?&lt;/P&gt;
&lt;P&gt;If the above doesn't help, then you'll have better luck asking this on a scripting or Windows forum. This really isn't a Dropbox issue.&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2019 14:30:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344079#M3415</guid>
      <dc:creator>Rich</dc:creator>
      <dc:date>2019-05-12T14:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Start Dropbox in batch file - Windows10</title>
      <link>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344085#M3416</link>
      <description>&lt;P&gt;Rich, thank you for reacting.&lt;/P&gt;&lt;P&gt;Yes, I tried your proposal, aswell Call. But withou results.&lt;/P&gt;&lt;P&gt;I think it is a Dropbox matter because using other applications the script is running fine. After loading dropbox there is no return tot the windows started from.&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2019 14:53:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344085#M3416</guid>
      <dc:creator>TonK</dc:creator>
      <dc:date>2019-05-12T14:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Start Dropbox in batch file - Windows10</title>
      <link>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344089#M3417</link>
      <description>&lt;P&gt;But you're using Dropbox in a manner that's not intended. You're trying to control when Dropbox is running when Dropbox is meant to be running all the time.&lt;/P&gt;
&lt;P&gt;When used as intended, it works properly. That is why this wouldn't be a Dropbox issue. It's an unsupported configuration.&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2019 15:36:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344089#M3417</guid>
      <dc:creator>Rich</dc:creator>
      <dc:date>2019-05-12T15:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Start Dropbox in batch file - Windows10</title>
      <link>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344093#M3418</link>
      <description>&lt;P&gt;The background is that i don't want to run dropbox all the time but only when I have file to sync. It is not loaded after booting the PC.&lt;/P&gt;&lt;P&gt;Is there another way to control access to dropbox i.s.o. shutting down dropbox?&lt;/P&gt;&lt;P&gt;May be stopping/starting the drop service ?&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2019 16:07:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344093#M3418</guid>
      <dc:creator>TonK</dc:creator>
      <dc:date>2019-05-12T16:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Start Dropbox in batch file - Windows10</title>
      <link>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344104#M3419</link>
      <description>&lt;P&gt;Some have used scheduled tasks along with taskkill to start and stop the dropbox.exe process.&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2019 17:23:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344104#M3419</guid>
      <dc:creator>Rich</dc:creator>
      <dc:date>2019-05-12T17:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Start Dropbox in batch file - Windows10</title>
      <link>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344107#M3420</link>
      <description>&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;Thank you for your efforts to help.&lt;/P&gt;&lt;P&gt;I tested next script in a separate batch file and it runs as normal. But adding this .bat in my original script (call ..) is is not&lt;/P&gt;&lt;PRE&gt;@echo off
set app="c:\Program Files (x86)\Dropbox\Client\Dropbox.exe"
taskkill -F -IM "Dropbox.exe"
start "Restart Dropbox" %app% -B;
exit&lt;/PRE&gt;&lt;P&gt;I suggest we stop this matter an I will deal with a minor problem = selecting the shown window by mouseclick&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@441FE98CC6341A8F74FE470957BBC453/images/emoticons/1f625.png" alt=":disappointed_relieved:" title=":disappointed_relieved:" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2019 17:44:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Integrations/Start-Dropbox-in-batch-file-Windows10/m-p/344107#M3420</guid>
      <dc:creator>TonK</dc:creator>
      <dc:date>2019-05-12T17:44:49Z</dc:date>
    </item>
  </channel>
</rss>

