Reindex.exe is just a simple DF program for creating indexes for an entire (basic) workspace. It's what the installer uses to create the indexes for all the examples based on the language selected. Nothing magic in it, it simply uses the same Sort command that DBBuilder uses.

You call it like so...
// Application created to be called from the command prompt to reindex files from a workspace
// A log (reindex.log) is created in the same location of the passed WS file 
// Arguments:
// -ws "<full path>\ws file name"
//     E.g. reindex.exe -ws "C:\DataFlex 18.1 Examples\Wine Inventory\Programs\config.ws"
//          The log "C:\DataFlex 18.1 Examples\Wine Inventory\Programs\reindex.log" will be created