You might be able to embed newlines in the string value if you can guarantee no =[] chars in the value, but I don't know first hand. Try it and see what happens. There is also the following warning in the docs for GetPrivateProfileString:
lpReturnedString
[out] Pointer to the buffer that receives the retrieved string.
Windows Me/98/95: The string cannot contain control characters (character code less than 32). Strings containing control characters may be truncated.
-- [link|http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getprivateprofilestring.asp|http://msdn.microsof...profilestring.asp]
Perhaps you could do something like the following:
NUM_DATA_FILES=10
DATA_FILE_0001=ccip_p9250_t09_a09_seg_zp2_k01_s0001.txt
DATA_FILE_0002=ccip_p9250_t09_a09_seg_zp2_k01_s0002.txt
DATA_FILE_0003=ccip_p9250_t09_a09_seg_zp2_k01_s0003.txt
DATA_FILE_0004=ccip_p9250_t09_a09_seg_zp2_k01_s0004.txt
DATA_FILE_0005=ccip_p9250_t09_a09_seg_zp2_k01_s0005.txt
DATA_FILE_0006=ccip_p9250_t09_a09_seg_zp2_k01_s0006.txt
DATA_FILE_0007=ccip_p9250_t09_a09_seg_zp2_k01_s0007.txt
DATA_FILE_0008=ccip_p9250_t09_a09_seg_zp2_k01_s0008.txt
DATA_FILE_0009=ccip_p9250_t09_a09_seg_zp2_k01_s0009.txt
DATA_FILE_0010=ccip_p9250_t09_a09_seg_zp2_k01_s0010.txt
or omit the count and just loop through the keynames till there are none left.
Or you could write and read/parse the file yourself, which I imagine you are trying to avoid :)