──FILESPEC(option,filespec)──────
FILESPEC returns a selected element of filespec, a given file specification, identified by one of the following strings for option:
Drive
If the requested string is not found, then FILESPEC returns a null string (" ").
┴╓: Only the the initial letter of option is needed.
Here are some examples:
thisfile = "C:\OS2\UTIL\EXAMPLE.EXE"say FILESPEC("drive",thisfile)     /* says "C:"          */
say FILESPEC("path",thisfile)      /* says "\OS2\UTIL\"  */
say FILESPEC("name",thisfile)      /* says "EXAMPLE.EXE" */
part   =   " name "
say   FILESPEC ( part , thisfile )          / *   says   " EXAMPLE . EXE "   * /