CString g_csCurrentPath; 其中包含有中文CStdioFile MyFile;
MyFile.Open(g_csCurrentPath + _T("\\SetEnvironment.vbs"), CFile::modeCreate|CFile::modeWrite);
MyFile.WriteString(g_csCurrentPath);//写入报告名称这样只能写入中文前面的,中文及中文后面的都写不进去...