Function Entry: VL-FILENAME-BASE

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VL-FILENAME-BASE

Name

vl-filename-base

Class

Visual LISP Pathname Function

Syntax

(vl-filename-base filename)

Arguments and Values

  • filename: pathname string

Description

Returns the base name of a file after stripping the directory path and extension.

Return Values

String.

Autodesk documents the returned string as uppercase on Windows, with platform-native case behavior on macOS and Web examples.

Side Effects

None.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Notes

  • Autodesk documents that the function does not check whether the specified file exists.