# MX\_PRFSPEC
> [HTML Version](mx_prfspec.htm)
**xcall MIAMEX, MX\_PRFSPEC, string**
MX\_PRFSPEC (MIAMEX 26) retrieves the last processed file specification and formats it in [standard DevPPN format](devppn_directorystructure.htm.md) (i.e. dev#:file.ext\[p,pn\]) where dev# and \[p,pn\] are omitted if the file is on the current device or in the current directory.
As a practical matter, the last processed filespec will be the one last processed via [MX\_FSPEC](mx_fspec.htm.md).