// P1_1 // // Look for the values in the registry which match the given file names. // The output of this process is a list of registry keys. // RegistryObject. InputFileName = %InputDir%\AllFiles.txt RegistryObject. OutputFileName = %InputDir%\RegKeysNew.TXT RegistryObject. FieldDefinitions = RegPath.DSC RegistryObject. GenearlOutputFormat = CSV RegistryObject. RegistrySearchMethod = FileName RegistryObject. CollectData // Remove the header for the stage of the process // P1_2 // // From this list of registry keys get the registry information. // RegistryObject. InputFileName = %InputDir%\RegKeysNew.TXT RegistryObject. OutputFileName = %InputDir%\RegKeysOut.CSV RegistryObject. GenearlOutputFormat = CSV RegistryObject. RegistrySearchMethod = RegistryKeyFileName RegistryObject. CollectData // P1_3 // // From the registry information get the file name and path and build // a list. Note : we don't simply get the name from the Value field because // there are possibly passed parameters on the end of the registry value. // CSVObject. InputFileName = %InputDir%\RegKeysOut.CSV CSVObject. OutputFileName = %InputDir%\CompFile.TXT CSVObject. GenearlOutputFormat = CSV CSVObject. CreateCompositeFieldFile // P1_4 // // From the list of files and paths get the file information. // FileObject. InputFileName = %InputDir%\CompFile.TXT // Output file for general consumption FileObject. OutputFileName = %InputDir%\ForProc.CSV FileObject. FieldDefinitions = FileNew.DSC FileObject. GenearlOutputFormat = CSV FileObject. CollectData // "ForReal_File.TXT" // P0_0 // Collect file data FileObject. InputFileName = %InputDir%\AllFiles.txt FileObject. OutputFileName = %InputDir%\JustFile.CSV FileObject. FieldDefinitions = FileNew.DSC FileObject. GenearlOutputFormat = CSV FileObject. CollectData // "ForReal_Registry.TXT" // P1_2 RegistryObject. InputFileName = %InputDir%\RegistryKeyValue.txt RegistryObject. FieldDefinitions = RegistryKeyValue.DSC RegistryObject. OutputFileName = %InputDir%\RegistryKeyValue.CSV RegistryObject. GenearlOutputFormat = CSV RegistryObject. RegistrySearchMethod = RegistryKeyValue RegistryObject. CollectData