GenerateTemporaryPathnameFromBasepath (open)

Generate a temporary filepath, with a specific base path as prefix

Syntax

LOADLIB "wh::files.whlib";

STRING FUNCTION GenerateTemporaryPathnameFromBasepath(STRING basepath)

Parameters

STRING basepath

Base path for the temporary filepath

Return value

STRING

A temporary path with the base path as prefix

Description

This function generates a temporary filepath, with a specific base path as prefix. The returned name should be opened with a 'create, exclusive' flag to protect against race conditions