FoxPro JustFName() function

The VFP JustFName() function returns the name of a file complete with its extension.

JustFName ("C:\Microsoft Visual FoxPro 9\vfp9.exe")

would return:

"vfp9.exe"

Use the JustStem() function if you want the stem of the filename without any extension.

VBA equivalent

Microsoft Access does not have equivalents to these FoxPro file name commands so I wrote this library Visual Basic functions to do give me the same facilities in VBA.

Related Items

FoxPro DefaultExt function

Using DefaultExt() to correct file extensions in a FoxPro program.

Read More

FoxPro ForceExt function

Using ForceExt() to correct file extensions in a FoxPro program.

Read More

FoxPro ForcePath function

Using ForcePath() to correct path names in a FoxPro program.

Read More

FoxPro JustExt function

Using JustExt() to get the extension from a file name.

Read More

FoxPro JustPath function

Using JustPath() to get the path from a full file name.

Read More