Function Entry: VL-FILENAME-MKTEMP

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

Function Entry: VL-FILENAME-MKTEMP

Name

vl-filename-mktemp

Class

Visual LISP Pathname Function

Syntax

(vl-filename-mktemp [pattern [directory [extension]]])

Arguments and Values

  • pattern — optional base pattern string.
  • directory — optional directory string.
  • extension — optional extension string.

Description

Calculates a unique file name to be used for a temporary file.

Return Values

String.

Side Effects

Allocates or reserves a temporary file name under host semantics; whether a file is also created should be treated as implementation-sensitive until confirmed.

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 returned file name is unique and that no file is created by the function itself.
  • Autodesk documents that the extension argument should not include the leading period.
  • Autodesk documents a Unicode/LISPSYS behavior change in AutoCAD 2021.