Algosim documentation: PrettyFileName

PrettyFileName

Extracts the file name without any extension from a fully qualified file name.

Syntax

Description

If s is a fully qualified file name, then PrettyFileName(s) returns the name of the file, excluding any extension. That is, the drive and directory parts are removed, as well as any file extension.

Examples

FileList("C:\WINDOWS\System32", "*.scr") @ PrettyFileName
Bubbles
Mystify
PhotoScreensaver
Ribbons
scrnsave
ssText3d

See also