title: Re-sync folders via command line
body: <p>I am currently working out how best to go about syncing files in my folders which will be included in my installer.</p>
  
  <p>It works fine through the interface, but doesn't seem to work out well when doing it through the command line.</p>
  
  <p>My folder structure is essentially:</p>
  
  <ul>
  <li>Root 
  <ul>
  <li>Installer Config  </li>
  <li>My code 1  </li>
  <li>My code 2</li>
  </ul></li>
  </ul>
  
  <p>My installer is to set up my two code folders when installed. Like I mentioned, I have this set up working for building the installer through the interface.
  In my project, I have My code 1 and My code 2 folders set as sync folders in the Files and Folders section.</p>
  
  <p>In the Installer Config folder, I am running a couple of scripts which essentially boil down to a batch file which does:</p>
  
  <pre><code>"AdvancedInstaller.com" /loadpathvars PathVariables.xml
  "AdvancedInstaller.com" /execute myproject.aip commands.txt
  </code></pre>
  
  <p>and my commands.txt which does:</p>
  
  <pre><code>;aic
  ResetSync APPDIR\mycode1
  ResetSync APPDIR\mycode2
  Save
  Rebuild
  </code></pre>
  
  <p>When the ResetSync calls are made, I get the error: Folder not synchronized: APPDIR\mycode1. but when I just hit refresh in the Files and Folders section in interface, it works fine.</p>
  
  <p>To create this error I add a new file to the 'My code 1' folder. Run the scripts, and I get the 'Folder not synchronized' error.</p>