JScript rename script to do that:
function OnGetNewName(getNewNameData)
{
var strExtension = String(getNewNameData.newname_ext_m);
var strNameOnly = String(getNewNameData.newname_stem_m);
if (strNameOnly == "" || strNameOnly[0] == ' ')
return;
var strFirstWord = strNameOnly.replace(/^([^\s]+).*$/, "$1");
var strRemaining = strNameOnly.replace(/^[^\s]+(.*)$/, "$1");
strFirstWord = strFirstWord.toUpperCase();
return strFirstWord + strRemaining + strExtension;
}
To set it up, see Rename Scripts (not inside a Preset) here: