home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 July / Chip_2002-07_cd1.bin / zkuste / vbasic / data / Utility / cc.exe / Streams / TakeSnapshot.TXT < prev    next >
Text File  |  1999-10-13  |  3KB  |  68 lines

  1. // P1_1
  2. //
  3. // Look for the values in the registry which match the given file names.
  4. // The output of this process is a list of registry keys.
  5. //
  6. RegistryObject.      InputFileName           = %InputDir%\AllFiles.txt
  7. RegistryObject.      OutputFileName          = %InputDir%\RegKeysNew.TXT
  8. RegistryObject.      FieldDefinitions        = RegPath.DSC
  9. RegistryObject.      GenearlOutputFormat     = CSV
  10. RegistryObject.      RegistrySearchMethod    = FileName
  11. RegistryObject.      CollectData
  12.  
  13. // Remove the header for the stage of the process
  14. // P1_2
  15. //
  16. // From this list of registry keys get the registry information.
  17. //
  18. RegistryObject.      InputFileName           = %InputDir%\RegKeysNew.TXT
  19. RegistryObject.      OutputFileName          = %InputDir%\RegKeysOut.CSV
  20. RegistryObject.      GenearlOutputFormat     = CSV
  21. RegistryObject.      RegistrySearchMethod    = RegistryKeyFileName
  22. RegistryObject.      CollectData
  23.  
  24. // P1_3
  25. //
  26. // From the registry information get the file name and path and build
  27. // a list. Note : we don't simply get the name from the Value field because
  28. // there are possibly passed parameters on the end of the registry value.
  29. //
  30.  
  31. CSVObject.      InputFileName           = %InputDir%\RegKeysOut.CSV
  32. CSVObject.      OutputFileName          = %InputDir%\CompFile.TXT
  33. CSVObject.      GenearlOutputFormat     = CSV
  34. CSVObject.      CreateCompositeFieldFile
  35.  
  36. // P1_4
  37. //
  38. // From the list of files and paths get the file information.
  39. //
  40. FileObject.      InputFileName          = %InputDir%\CompFile.TXT
  41. // Output file for general consumption
  42. FileObject.      OutputFileName         = %InputDir%\ForProc.CSV
  43. FileObject.      FieldDefinitions       = FileNew.DSC
  44. FileObject.      GenearlOutputFormat    = CSV
  45. FileObject.      CollectData
  46.  
  47. // "ForReal_File.TXT"
  48.  
  49. // P0_0
  50. // Collect file data
  51.  
  52. FileObject.      InputFileName          = %InputDir%\AllFiles.txt
  53. FileObject.      OutputFileName         = %InputDir%\JustFile.CSV
  54. FileObject.      FieldDefinitions       = FileNew.DSC
  55. FileObject.      GenearlOutputFormat    = CSV
  56. FileObject.      CollectData
  57.  
  58. // "ForReal_Registry.TXT"
  59.  
  60. // P1_2
  61.  
  62. RegistryObject.      InputFileName           = %InputDir%\RegistryKeyValue.txt
  63. RegistryObject.      FieldDefinitions        = RegistryKeyValue.DSC
  64. RegistryObject.      OutputFileName          = %InputDir%\RegistryKeyValue.CSV
  65. RegistryObject.      GenearlOutputFormat     = CSV
  66. RegistryObject.      RegistrySearchMethod    = RegistryKeyValue
  67. RegistryObject.      CollectData
  68.