CString command = "tar -cvf " + tarfile1 + " -C " +quotes+ templinuxPath + "/" + templinuxDir +quotes+ spaces + nsinstallerDir; ExecuteCommand((char *)(LPCTSTR) command, SW_HIDE, INFINITE); command = "gzip " + tarfile1;
CString command = "tar -zcvf " + tarfile + " -C " +quotes+ templinuxPath + "/" + templinuxDir +quotes+ spaces + nsinstallerDir;
void CreateLinuxInstaller(){	char currentdir[_MAX_PATH];	_getcwd(currentdir,_MAX_PATH);	CopyDirectory(xpiDstPath, templinuxPath + xpiDir);	DeleteFile(templinuxPath + xpiDir + "\\N6Setup.exe");	CopyFile(xpiDstPath+"\\Config.ini", templinuxPath+"\\Config.ini",FALSE);	DeleteFile(templinuxPath + xpiDir + "\\Config.ini");	_chdir(outputPath);	templinuxPath = tempPath;	templinuxPath.Replace("\\", "/");	templinuxPath.Replace(":","");	templinuxPath.Insert(0,"/cygdrive/");	DeleteFile(tarfile1);	DeleteFile(tarfile);	CString command = "tar -cvf " + tarfile1 + " -C " +quotes+ templinuxPath + "/" + templinuxDir +quotes+ spaces + nsinstallerDir;    	ExecuteCommand((char *)(LPCTSTR) command, SW_HIDE, INFINITE);	command = "gzip " + tarfile1;	ExecuteCommand((char *)(LPCTSTR) command, SW_HIDE, INFINITE);	_chdir(currentdir);}