//copy disperse confg
CFileFind find;
CString strFindPath = strFolderPath + "//*.*";
BOOL beFind = find.FindFile(strFindPath);
//line store buf
char buf[1025];
memset(buf,0,1025);
//per_file
CStdioFile perFile;
int count = 0;
while (beFind)
{
beFind = find.FindNextFile();
if (!find.IsDirectory()&&!find.IsDots())
{
//write file flag
if (strFlag == "dos/windows")
{
if (count==0)
fileSetConfg.WriteString(WINFLAG);
}
else
{
if (strFlag == "unix/linux")
{
fileSetConfg.WriteString(UNIXFLAG);
}
}