pdfwiz/parsemake/file_utils.cxx
// returns "true" on successful copy
returns "true" on successful copy
returns " true " on successful copy
bool
file_utils::xcopy(string const &from, string const &to)
{
	string command("xcopy \"");
	command += from;
	command += "\" \"";
	command += to;
	command += "\" /s /e /i /q";  
	int result_code = system(command.c_str());
	return (result_code == 0);
}
bool file_utils :: xcopy ( string const & from , string const & to ) { string command ( " \" " ) ; command += from ; command += " \" \" " ; command += to ; command += " \" " ; int result_code = system ( command . c_str ( ) ) ; return ( result_code == 0 ) ; }
returns "true" on successful copy
returns " true " on successful copy
// should I make sure things exist first? //subdirs, empty, non-interactive, quiet // the following spits out the directory name on stdout.  Dunno // how to prevent it!