File name in an edit box

I would like to have an edit box's default value in adatacard be the file name. If I choose "Special Value - File name"for the default, I get the file name with the file's extension.This is what I want; minus the extension.

Seems this would be a rather common request when the file name isthe same as the part number. Anyone figured out how to do it?

Thanks in advance
SolidworksSolidworks Pdm enterprise Pdm