Re-Index File Properties from the Command Line

  1. Run Connectivity.ADMSConsole.exe from a command line with the following switches:

Command

Details

-Oreindexfileproperties

The operation being performed (required).

-Ndatabasename

The name of the database to be re-indexed (required).

-VUusername

Vault administrator account user name (required).

-VPpassword

Vault administrator account password (required).

-TIP

Re-indexes only leading versions of files (optional).

This is the default setting. If -TIP is used (or not specified), only the latest versions, the released versions, and pending released versions are re-indexed.

Note: For more information on revision management, see the Autodesk Vault Client help.

-ALL

Re-indexes all versions of files (optional).

By default, only the latest versions, the released versions, and pending released versions are indexed (-TIP). If -ALL is used, all versions are re-indexed.

Note: For more information on revision management, see the Autodesk Vault Client help.

-EXTextensions

File extensions filter (optional).

Enter values separated by ',' or ';' without spaces. With or without '*' or '.'

PROVIDERcontentsourceproviders

Content source providers filter (optional).

Enter values separated by ',' or ';' without spaces.

Use the following system name for each provider:

  • AutoCAD–AutoCAD_PropertyProvider
  • AutoCAD Electrical–AutoCADElectrical_PropertyProvider
  • Inventor DWG– InventorDwg_PropertyProvider
  • Inventor– Inventor_PropertyProvider
  • Revit– Revit_PropertyProvider
  • Office 97-2003 Documents– Office_PropertyProvider
  • Office Documents– OfficeOpenXml_PropertyProvider
  • All Files– IFilter_PropertyProvider
  • AutoCAD C3D– AutoCADC3D_PropertyProvider
  • Sheet Set Data–SSM_PropertyProvider

-FROMstartdate

Start date filter (optional)

Use mm/dd/yyyy format

-TOenddate

End date filter (optional)

Use mm/dd/yyyy format

-FORCE

Force all files or latest files to be cracked open and re-indexed (optional).

-STOP

Terminates the re-indexing operation (optional). Once stopped, re-indexing cannot be started from the point at which it left off.

-NORMAL

Bumps the process priority from "Below Normal" to "Normal" (optional). The priority cannot be changed once the re-indexing operation is initiated. If the -NORMAL switch is used, re-indexing will complete sooner; however, server performance will degrade due to the higher priority of the operation.

Examples

Connectivity.ADMSConsole.exe -Oreindexfileproperties -NVault -VUadministrator -VPadmin

Connectivity.ADMSConsole.exe -Oreindexfileproperties -NVault -VUadministrator -VPadmin -STOP

Connectivity.ADMSConsole.exe -Oreindexfileproperties -Nvault -VUadministrator -VPadmin -TIP -FORCE -EXTipt,iam -PROVIDERAutoCADElectrical,OfficeOpenXml -FROM5/10/2011 -TO5/20/2011