2.2.2.1 AutoPathFormat

The AutoPathFormat enumeration defines the information to be appended to the file name or subdirectory name. Any combination of the bits is allowed; multiple bits specify strings to be appended to the file name. When a combination with than one of these bits is specified, the strings are appended in the following order: plaComputer, plaPattern, plaMonthDayHour, plaSerialNumber, plaYearDayOfYear, plaYearMonth, plaYearMonthDay, plaYearMonthDayHour, plaMonthDayHourMinute. Consequently, if all bits are set, the name is represented as follows: [plaComputer]base_name[plaPattern][plaMonthDayHour][plaSerialNumber][plaYearDayOfYear][plaYearMonth][plaYearMonthDay][plaYearMonthDayHour][plaMonthDayHourMinute].

 typedef  enum
 {
   plaNone = 0x0000,
   plaPattern = 0x0001,
   plaComputer = 0x0002,
   plaMonthDayHour = 0x0100,
   plaSerialNumber = 0x0200,
   plaYearDayOfYear = 0x0400,
   plaYearMonth = 0x0800,
   plaYearMonthDay = 0x1000,
   plaYearMonthDayHour = 0x2000,
   plaMonthDayHourMinute = 0x4000
 } AutoPathFormat;

plaNone:   Does not append any information to the name.

plaPattern:  Adds a pattern specified in IDataCollectorSet::SubdirectoryFormatPattern 3.2.4.1.32 or IDataCollector::FileNameFormatPattern 3.2.4.5.7 to the name.

plaComputer:  Prefixes the name with the computer name.

plaMonthDayHour:  Appends the month, day, and hour to the name in the form, MMddHH.

plaSerialNumber:  Appends the serial number specified in IDataCollectorSet::SerialNumber to the subdirectory name in the form, NNNNNN.

plaYearDayOfYear:  Appends the year and day of the year to the name in the form, yyyyDDD.

plaYearMonth:  Appends the year and month to the name in the form, yyyyMM.

plaYearMonthDay:  Appends the year, month, and day to the name in the form, yyyyMMdd.

plaYearMonthDayHour:  Appends the year, month, day, and hour to the name in the form, yyyyMMddHH.

plaMonthDayHourMinute:  Appends the month, day, hour, and minute to the name in the form, MMddHHmm.