char	name[256] = ""; if( dirname[0] != ':' ) std::strcpy(name, ":"); std::strncat(name, dirname, 254 ); return chdir(name);
string name(dirname); switch_slashes(name); return chdir(name.c_str());
int U7chdir	(	const char *dirname	// May be converted to upper-case.	){#ifdef MACOS	char	name[256] = "";	if( dirname[0] != ':' )		std::strcpy(name, ":");	std::strncat(name, dirname, 254 );	return chdir(name);#else	return chdir(dirname);#endif}