Synchronize Your Workspace from the Command Line
Run workspace synchronization from the command line.
Using the command line, you can create a script or an event in Windows Task Scheduler to automate workspace synchronization.
Note: By default, the file delete option is suppressed when synchronizing your workspace from the command line. This is to prevent any inadvertent loss of data. To enable file delete via the command line, you must edit the XML file and enable this functionality:
<StandAloneOnlySettingDeleteFiles>=True
Click Windows Start > Run, and then enter cmd in the Run dialog box.
Change directories to the install directory for Autodesk Vault. By default, this path is C:\Program Files\Autodesk\Autodesk Vault [version]\Explorer.
At the command line, type: Connectivity.WorkspaceSync.exe followed by the command line options, and then press Enter.
Examples
- Connectivity.WorkspaceSync.exe -Ndmserver\Vault -WA -S"C:\Synchronization Settings\Settings.xml" -FC:\temp\SyncReport.csv
- Connectivity.WorkspaceSync.exe -Ndmserver\Vault -VUbkeaton -VPg3nEral27 -S"C:\Synchronization Settings\Settings.xml" -FC:\temp\SyncReport.csv
Note: Paths containing spaces must be inside of double quotes (for example, "C:\Synchronization Settings\Settings.xml").