Batch file not running after sync

Welcome to BestSync Support Forum!
If you have any questions, comments, concerns, suggestion, please summit here, we'll try to reply you in short time.
Thank you!
Sandeep
Posts: 9
Joined: Mon Oct 29, 2012 5:30 am

Re: Batch file not running after sync

Post by Sandeep »

The task runs in preview mode. It synchronizes the changes but did not trigger the batch file. I need this feature and for some reasons it is not working. I tried it in different machine for a simple folder to folder synch, but this feature was not working. Please confirm if it works in your testing. I have recently upgraded to BestSynch2013 with no result. Please let me know the correct configuration for this feature.
RiseFly
Site Admin
Posts: 1077
Joined: Tue Nov 03, 2009 2:51 pm

Re: Batch file not running after sync

Post by RiseFly »

We have tested on BestSync ver8.0.6.3, the result is OK.
Here is the setting of the Application Tab:
[attachment=1]RunBatch.png[/attachment]

Here is the content of the test.bat file:
notepad %1

Please note, if the task is running as Windows Service, the environment variables of the current user are not accessible, except you have setup the log on account in BestSync Service (Service Manager of Control Panel) like the following:
[attachment=0]ServiceLogon.png[/attachment]
Attachments
Run batch File with argument
Run batch File with argument
RunBatch.png (15.37 KiB) Viewed 3761 times
Service Log on
Service Log on
ServiceLogon.png (13.52 KiB) Viewed 3761 times
Post Reply